pub struct TraceSink {
pub events: Vec<TraceEvent>,
}Expand description
A collector of TraceEvents. Installed thread-locally by a debug flag so
the interpreter’s hot path stays branch-light when tracing is off.
Fields§
§events: Vec<TraceEvent>The recorded steps, in fold order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TraceSink
impl RefUnwindSafe for TraceSink
impl Send for TraceSink
impl Sync for TraceSink
impl Unpin for TraceSink
impl UnsafeUnpin for TraceSink
impl UnwindSafe for TraceSink
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