#[repr(u16)]pub enum JournalEntryRecordType {
Show 59 variants
InitModuleV1 = 1,
ProcessExitV1 = 2,
SetThreadV1 = 3,
CloseThreadV1 = 4,
FileDescriptorSeekV1 = 5,
FileDescriptorWriteV1 = 6,
UpdateMemoryRegionV1 = 7,
SetClockTimeV1 = 9,
OpenFileDescriptorV1 = 10,
CloseFileDescriptorV1 = 11,
RenumberFileDescriptorV1 = 12,
DuplicateFileDescriptorV1 = 13,
CreateDirectoryV1 = 14,
RemoveDirectoryV1 = 15,
PathSetTimesV1 = 16,
FileDescriptorSetTimesV1 = 17,
FileDescriptorSetSizeV1 = 18,
FileDescriptorSetFlagsV1 = 19,
FileDescriptorSetRightsV1 = 20,
FileDescriptorAdviseV1 = 21,
FileDescriptorAllocateV1 = 22,
CreateHardLinkV1 = 23,
CreateSymbolicLinkV1 = 24,
UnlinkFileV1 = 25,
PathRenameV1 = 26,
ChangeDirectoryV1 = 27,
EpollCreateV1 = 28,
EpollCtlV1 = 29,
TtySetV1 = 30,
CreatePipeV1 = 31,
CreateEventV1 = 32,
PortAddAddrV1 = 33,
PortDelAddrV1 = 34,
PortAddrClearV1 = 35,
PortBridgeV1 = 36,
PortUnbridgeV1 = 37,
PortDhcpAcquireV1 = 38,
PortGatewaySetV1 = 39,
PortRouteAddV1 = 40,
PortRouteClearV1 = 41,
PortRouteDelV1 = 42,
SocketOpenV1 = 43,
SocketListenV1 = 44,
SocketBindV1 = 45,
SocketConnectedV1 = 46,
SocketAcceptedV1 = 47,
SocketJoinIpv4MulticastV1 = 48,
SocketJoinIpv6MulticastV1 = 49,
SocketLeaveIpv4MulticastV1 = 50,
SocketLeaveIpv6MulticastV1 = 51,
SocketSendFileV1 = 52,
SocketSendToV1 = 53,
SocketSendV1 = 54,
SocketSetOptFlagV1 = 55,
SocketSetOptSizeV1 = 56,
SocketSetOptTimeV1 = 57,
SocketShutdownV1 = 58,
SnapshotV1 = 59,
ClearEtherealV1 = 60,
}
Variants§
InitModuleV1 = 1
ProcessExitV1 = 2
SetThreadV1 = 3
CloseThreadV1 = 4
FileDescriptorSeekV1 = 5
FileDescriptorWriteV1 = 6
UpdateMemoryRegionV1 = 7
SetClockTimeV1 = 9
OpenFileDescriptorV1 = 10
CloseFileDescriptorV1 = 11
RenumberFileDescriptorV1 = 12
DuplicateFileDescriptorV1 = 13
CreateDirectoryV1 = 14
RemoveDirectoryV1 = 15
PathSetTimesV1 = 16
FileDescriptorSetTimesV1 = 17
FileDescriptorSetSizeV1 = 18
FileDescriptorSetFlagsV1 = 19
FileDescriptorSetRightsV1 = 20
FileDescriptorAdviseV1 = 21
FileDescriptorAllocateV1 = 22
CreateHardLinkV1 = 23
CreateSymbolicLinkV1 = 24
UnlinkFileV1 = 25
PathRenameV1 = 26
ChangeDirectoryV1 = 27
EpollCreateV1 = 28
EpollCtlV1 = 29
TtySetV1 = 30
CreatePipeV1 = 31
CreateEventV1 = 32
PortAddAddrV1 = 33
PortDelAddrV1 = 34
PortAddrClearV1 = 35
PortBridgeV1 = 36
PortUnbridgeV1 = 37
PortDhcpAcquireV1 = 38
PortGatewaySetV1 = 39
PortRouteAddV1 = 40
PortRouteClearV1 = 41
PortRouteDelV1 = 42
SocketOpenV1 = 43
SocketListenV1 = 44
SocketBindV1 = 45
SocketConnectedV1 = 46
SocketAcceptedV1 = 47
SocketJoinIpv4MulticastV1 = 48
SocketJoinIpv6MulticastV1 = 49
SocketLeaveIpv4MulticastV1 = 50
SocketLeaveIpv6MulticastV1 = 51
SocketSendFileV1 = 52
SocketSendToV1 = 53
SocketSendV1 = 54
SocketSetOptFlagV1 = 55
SocketSetOptSizeV1 = 56
SocketSetOptTimeV1 = 57
SocketShutdownV1 = 58
SnapshotV1 = 59
ClearEtherealV1 = 60
Implementations§
source§impl JournalEntryRecordType
impl JournalEntryRecordType
sourcepub unsafe fn deserialize_archive(self, data: &[u8]) -> Result<JournalEntry<'_>>
pub unsafe fn deserialize_archive(self, data: &[u8]) -> Result<JournalEntry<'_>>
§Safety
rykv
makes direct memory references to achieve high performance
however this does mean care must be taken that the data itself
can not be manipulated or corrupted.
Trait Implementations§
source§impl Archive for JournalEntryRecordType
impl Archive for JournalEntryRecordType
source§type Archived = ArchivedJournalEntryRecordType
type Archived = ArchivedJournalEntryRecordType
The archived representation of this type. Read more
source§type Resolver = JournalEntryRecordTypeResolver
type Resolver = JournalEntryRecordTypeResolver
The resolver for this type. It must contain all the additional information from serializing
needed to make the archived type from the normal type.
source§impl Clone for JournalEntryRecordType
impl Clone for JournalEntryRecordType
source§fn clone(&self) -> JournalEntryRecordType
fn clone(&self) -> JournalEntryRecordType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JournalEntryRecordType
impl Debug for JournalEntryRecordType
source§impl<__D: Fallible + ?Sized> Deserialize<JournalEntryRecordType, __D> for Archived<JournalEntryRecordType>
impl<__D: Fallible + ?Sized> Deserialize<JournalEntryRecordType, __D> for Archived<JournalEntryRecordType>
source§fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<JournalEntryRecordType, __D::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<JournalEntryRecordType, __D::Error>
Deserializes using the given deserializer
source§impl From<JournalEntryRecordType> for u16
impl From<JournalEntryRecordType> for u16
source§fn from(enum_value: JournalEntryRecordType) -> Self
fn from(enum_value: JournalEntryRecordType) -> Self
Converts to this type from the input type.
source§impl PartialEq for JournalEntryRecordType
impl PartialEq for JournalEntryRecordType
source§impl TryFrom<u16> for JournalEntryRecordType
impl TryFrom<u16> for JournalEntryRecordType
source§type Error = TryFromPrimitiveError<JournalEntryRecordType>
type Error = TryFromPrimitiveError<JournalEntryRecordType>
The type returned in the event of a conversion error.
impl Copy for JournalEntryRecordType
impl Eq for JournalEntryRecordType
impl StructuralPartialEq for JournalEntryRecordType
Auto Trait Implementations§
impl Freeze for JournalEntryRecordType
impl RefUnwindSafe for JournalEntryRecordType
impl Send for JournalEntryRecordType
impl Sync for JournalEntryRecordType
impl Unpin for JournalEntryRecordType
impl UnwindSafe for JournalEntryRecordType
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
source§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive
, it may be unsized. Read moresource§type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
source§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata,
)
unsafe fn resolve_metadata( &self, _: usize, _: <T as ArchiveUnsized>::MetadataResolver, _: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, )
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.
source§impl<T, S> SerializeUnsized<S> for T
impl<T, S> SerializeUnsized<S> for T
source§impl<T> Upcastable for T
impl<T> Upcastable for T
source§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
source§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref