#[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§fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)
fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)
Creates the archived version of this value at the given position and
writes it to the given output. Read more
Source§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied
directly to a writer instead of calling
serialize
. Read moreSource§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 as Fallible>::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<JournalEntryRecordType, <__D as Fallible>::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§fn archived_metadata(
&self,
) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
fn archived_metadata( &self, ) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
Creates the archived version of the metadata for this value.
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<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§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§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>
Returns 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