pub struct Snapshot {
pub threads: Vec<ThreadSample>,
pub stats: SnapshotStats,
pub frames_resolved: bool,
}Expand description
The result of one capture.
Fields§
§threads: Vec<ThreadSample>Per-thread samples.
stats: SnapshotStatsCoverage and cost.
frames_resolved: boolWhether frames have been resolved from the raw captures.
False for now on every platform — unwinding lands separately. Exposed so a consumer cannot mistake raw register/stack captures for symbolized or even unwound frames.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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