#[repr(u8)]pub enum RecordType {
Metadata = 0,
Initialization = 1,
String = 2,
Thread = 3,
Event = 4,
Blob = 5,
UserspaceObject = 6,
KernelObject = 7,
Scheduler = 8,
Log = 9,
Profiler = 10,
LargeBlob = 15,
}Expand description
Enumerates all known record types.
Variants§
Metadata = 0
Initialization = 1
String = 2
Thread = 3
Event = 4
Blob = 5
UserspaceObject = 6
KernelObject = 7
Scheduler = 8
Log = 9
Profiler = 10
LargeBlob = 15
The kLargeRecord uses a 32-bit size field.
Trait Implementations§
Source§impl Debug for RecordType
impl Debug for RecordType
impl Eq for RecordType
impl Immutable for RecordType
Source§impl IntoBytes for RecordTypewhere
(): PaddingFree<Self, { _ }>,
impl IntoBytes for RecordTypewhere
(): PaddingFree<Self, { _ }>,
Source§impl PartialEq for RecordType
impl PartialEq for RecordType
impl StructuralPartialEq for RecordType
Source§impl TryFromBytes for RecordType
impl TryFromBytes for RecordType
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for RecordType
impl RefUnwindSafe for RecordType
impl Send for RecordType
impl Sync for RecordType
impl Unpin for RecordType
impl UnsafeUnpin for RecordType
impl UnwindSafe for RecordType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more