pub struct Trace { /* private fields */ }Implementations§
Source§impl Trace
impl Trace
pub const COMPACT_CAPACITY: usize = 1280
pub fn new(capacity: usize) -> Option<Trace>
pub fn with_stride(capacity: usize, stride: usize) -> Option<Trace>
pub fn new_compact() -> Trace
pub fn record(&self, stage: Stage, sequence: u64)
pub fn record_at(&self, stage: Stage, sequence: u64, instant: Instant)
pub fn overflowed(&self) -> bool
pub fn storage_bytes(&self) -> usize
pub fn snapshot(&self) -> Vec<Event>
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§
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