Struct rstack_self::Thread [−][src]
pub struct Thread { /* fields omitted */ }Information about a thread.
Methods
impl Thread[src]
impl Threadpub fn id(&self) -> u32[src]
pub fn id(&self) -> u32Returns the thread's ID.
pub fn name(&self) -> &str[src]
pub fn name(&self) -> &strReturns 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 Threadfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Thread[src]
impl Clone for Thread