pub enum EventKind {
SyncBegin,
SyncEnd,
}
Expand description
An enum representing the types of Events that can occur.
Variants§
SyncBegin
The beginning of a synchronous duration.
This represents the beginning of a duration on a particular thread. Durations can be nested, but must not overlap.
SyncEnd
The end of a synchronous duration.
This represents the end of a duration on a particular thread. Durations can be nested, but must not overlap.
Trait Implementations§
impl Copy for EventKind
impl StructuralPartialEq for EventKind
Auto Trait Implementations§
impl Freeze for EventKind
impl RefUnwindSafe for EventKind
impl Send for EventKind
impl Sync for EventKind
impl Unpin for EventKind
impl UnwindSafe for EventKind
Blanket Implementations§
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