pub struct RawTraceLayerOptions {
pub memory: bool,
}Expand description
Options for RawTraceLayer.
Fields§
§memory: boolTrack memory: attach the per-thread allocation counters to every span enter and exit
and write periodic process memory samples (MemorySample rows).
These make up a large part of the trace size, so disabling them significantly reduces
trace file size, at the cost of losing all memory information. Defaults to true.
Trait Implementations§
Source§impl Clone for RawTraceLayerOptions
impl Clone for RawTraceLayerOptions
Source§impl Debug for RawTraceLayerOptions
impl Debug for RawTraceLayerOptions
Auto Trait Implementations§
impl Freeze for RawTraceLayerOptions
impl RefUnwindSafe for RawTraceLayerOptions
impl Send for RawTraceLayerOptions
impl Sync for RawTraceLayerOptions
impl Unpin for RawTraceLayerOptions
impl UnsafeUnpin for RawTraceLayerOptions
impl UnwindSafe for RawTraceLayerOptions
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