pub struct ThreadTrace {
pub track: ThreadTrack,
pub name: Option<String>,
pub records: Vec<Record>,
pub dropped: u64,
}Expand description
One thread’s share of a Snapshot.
Fields§
§track: ThreadTrackWhich track these came from.
name: Option<String>The thread’s name when it first recorded, if it had one.
records: Vec<Record>Everything the thread recorded since the last drain, oldest first.
dropped: u64Records this track refused for want of room. Non-zero means the trace has a hole in it and the reader is being told so; see the module docs.
Trait Implementations§
Source§impl Clone for ThreadTrace
impl Clone for ThreadTrace
Source§impl Debug for ThreadTrace
impl Debug for ThreadTrace
impl Eq for ThreadTrace
Source§impl PartialEq for ThreadTrace
impl PartialEq for ThreadTrace
impl StructuralPartialEq for ThreadTrace
Auto Trait Implementations§
impl Freeze for ThreadTrace
impl RefUnwindSafe for ThreadTrace
impl Send for ThreadTrace
impl Sync for ThreadTrace
impl Unpin for ThreadTrace
impl UnsafeUnpin for ThreadTrace
impl UnwindSafe for ThreadTrace
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