#[repr(u8)]pub enum EventType {
Instant = 0,
Counter = 1,
DurationBegin = 2,
DurationEnd = 3,
DurationComplete = 4,
AsyncBegin = 5,
AsyncInstant = 6,
AsyncEnd = 7,
FlowBegin = 8,
FlowStep = 9,
FlowEnd = 10,
}Expand description
EventType enumerates all known trace event types.
Variants§
Instant = 0
Counter = 1
DurationBegin = 2
DurationEnd = 3
DurationComplete = 4
AsyncBegin = 5
AsyncInstant = 6
AsyncEnd = 7
FlowBegin = 8
FlowStep = 9
FlowEnd = 10
Trait Implementations§
impl Eq for EventType
impl Immutable for EventType
Source§impl IntoBytes for EventTypewhere
(): PaddingFree<Self, { _ }>,
impl IntoBytes for EventTypewhere
(): PaddingFree<Self, { _ }>,
impl StructuralPartialEq for EventType
Source§impl TryFromBytes for EventType
impl TryFromBytes for EventType
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 EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnsafeUnpin for EventType
impl UnwindSafe for EventType
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