pub struct Thread {
pub id: u64,
pub name: Option<String>,
pub dispatch_queue: Option<String>,
pub crashed: bool,
pub frames: Vec<Frame>,
pub registers: Option<BTreeMap<String, Addr>>,
}
Expand description
A single thread in the crash.
Fields§
§id: u64
The ID (index) of the thread.
name: Option<String>
The name of the thread if available.
dispatch_queue: Option<String>
The name of the dispatch queue
crashed: bool
true
if this thread crashed.
frames: Vec<Frame>
The list of frames
registers: Option<BTreeMap<String, Addr>>
A dump of all the registers of the thread if available.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Thread
impl RefUnwindSafe for Thread
impl Send for Thread
impl Sync for Thread
impl Unpin for Thread
impl UnwindSafe for Thread
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