pub struct Trace {
pub events: Vec<TraceEvent>,
pub level: usize,
pub active: bool,
}Expand description
the main structure hoding trace events. It is stored in a thread level storage variable
Fields§
§events: Vec<TraceEvent>§level: usize§active: boolImplementations§
Auto Trait Implementations§
impl !Send for Trace
impl !Sync for Trace
impl Freeze for Trace
impl RefUnwindSafe for Trace
impl Unpin for Trace
impl UnsafeUnpin for Trace
impl UnwindSafe for Trace
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