StackError

Trait StackError 

Source
pub trait StackError: StdError {
    // Required methods
    fn debug_fmt(&self, layer: usize, buf: &mut Vec<String>);
    fn next(&self) -> Option<&dyn StackError>;

    // Provided methods
    fn last(&self) -> &dyn StackError
       where Self: Sized { ... }
    fn transparent(&self) -> bool { ... }
}

Required Methods§

Source

fn debug_fmt(&self, layer: usize, buf: &mut Vec<String>)

Source

fn next(&self) -> Option<&dyn StackError>

Provided Methods§

Source

fn last(&self) -> &dyn StackError
where Self: Sized,

Source

fn transparent(&self) -> bool

Implementations on Foreign Types§

Source§

impl<T: StackError> StackError for Box<T>

Source§

fn debug_fmt(&self, layer: usize, buf: &mut Vec<String>)

Source§

fn next(&self) -> Option<&dyn StackError>

Source§

impl<T: ?Sized + StackError> StackError for Arc<T>

Source§

fn debug_fmt(&self, layer: usize, buf: &mut Vec<String>)

Source§

fn next(&self) -> Option<&dyn StackError>

Implementors§