pub enum Trace {
Begin(Record),
End {
id: Cause,
took: Duration,
},
Mark(Record),
}Expand description
What an observer is told.
Variants§
Begin(Record)
A point that stays current until Trace::End: what happens inside it
is caused by it.
End
Mark(Record)
A point with no extent: a send, a push, a spawn.
Trait Implementations§
impl StructuralPartialEq for Trace
Auto Trait Implementations§
impl Freeze for Trace
impl RefUnwindSafe for Trace
impl Send for Trace
impl Sync for Trace
impl Unpin for Trace
impl UnsafeUnpin for Trace
impl UnwindSafe for Trace
Blanket Implementations§
impl<M> AllowedSignal<M> for Mwhere
M: 'static,
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