[][src]Trait erroneous::Error

pub trait Error: StdError + Send + Sync + 'static {
    fn iter<'a>(&'a self) -> Iter<'a>;
}

A "replacement" trait for std::error::Error. You should use this as a bound instead of that one, since this one has more guarantees, although it is entirely logically identical to std::error::Error + Send + Sync + 'static.

To "implement" this you should use the derive.

Required methods

Important traits for Iter<'a>

fn iter<'a>(&'a self) -> Iter<'a>

Iterate over the entire chain of errors. Includes self.

Result implements Iterator<Item = &(dyn std::error::Error + 'static)>.

Loading content...

Implementors

impl<T: StdError + Send + Sync + 'static> Error for T
[src]

Loading content...