pub struct ThreadBacktrace {
pub thread_number: u32,
pub thread_name: Option<String>,
pub thread_id: Option<u64>,
pub is_crashed: bool,
pub frames: Vec<BacktraceFrame>,
}Expand description
Represents the backtrace of a single thread.
Fields§
§thread_number: u32Index of this thread in the process.
thread_name: Option<String>Dispatch queue name or pthread name, if set.
thread_id: Option<u64>Mach thread ID (thread_identifier_info).
is_crashed: boolWhether this thread triggered the crash.
frames: Vec<BacktraceFrame>Stack frames for this thread, ordered from top (most recent) to bottom.
Trait Implementations§
Source§impl Clone for ThreadBacktrace
impl Clone for ThreadBacktrace
Source§fn clone(&self) -> ThreadBacktrace
fn clone(&self) -> ThreadBacktrace
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 ThreadBacktrace
impl RefUnwindSafe for ThreadBacktrace
impl Send for ThreadBacktrace
impl Sync for ThreadBacktrace
impl Unpin for ThreadBacktrace
impl UnsafeUnpin for ThreadBacktrace
impl UnwindSafe for ThreadBacktrace
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