Trait dangerous::error::Backtrace [−][src]
pub trait Backtrace: 'static { fn root(&self) -> CoreContext; fn count(&self) -> usize; fn walk<'a>(&'a self, f: &mut BacktraceWalker<'a>) -> bool; }
Expand description
Implemented for walkable stacks of Context
s collected from an error.
Required methods
fn root(&self) -> CoreContext
[src]
fn root(&self) -> CoreContext
[src]The root context.
fn walk<'a>(&'a self, f: &mut BacktraceWalker<'a>) -> bool
[src]
fn walk<'a>(&'a self, f: &mut BacktraceWalker<'a>) -> bool
[src]Walk the context backtrace, starting with the highest context to the root.
Returns true
if all of the stack available was walked, false
if not.