Struct rstack_self::Thread [−][src]
pub struct Thread { /* fields omitted */ }
Information about a thread.
Methods
impl Thread
[src]
impl Thread
pub fn id(&self) -> u32
[src]
pub fn id(&self) -> u32
Returns the thread's ID.
pub fn name(&self) -> &str
[src]
pub fn name(&self) -> &str
Returns the thread's name.
pub fn frames(&self) -> &[Frame]
[src]
pub fn frames(&self) -> &[Frame]
Returns the stack frames of the thread.
Trait Implementations
impl Debug for Thread
[src]
impl Debug for Thread
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Thread
[src]
impl Clone for Thread