pub struct StackSnapshot {
pub timestamp_ns: u64,
pub frames: Vec<String>,
pub label: Option<String>,
}Expand description
A snapshot of the call stack at a specific point in time.
Fields§
§timestamp_ns: u64Timestamp when the snapshot was taken.
frames: Vec<String>The call stack frames (most recent first).
label: Option<String>An optional label for this snapshot.
Implementations§
Trait Implementations§
Source§impl Clone for StackSnapshot
impl Clone for StackSnapshot
Source§fn clone(&self) -> StackSnapshot
fn clone(&self) -> StackSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StackSnapshot
impl RefUnwindSafe for StackSnapshot
impl Send for StackSnapshot
impl Sync for StackSnapshot
impl Unpin for StackSnapshot
impl UnsafeUnpin for StackSnapshot
impl UnwindSafe for StackSnapshot
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