common_error::ext

Trait StackError

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

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

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,

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§