cloneable_errors

Trait IntoErrorIterator

Source
pub trait IntoErrorIterator {
    // Required method
    fn error_chain(&self) -> ErrorIterator<'_> ;

    // Provided method
    fn serializable_copy(&self) -> SerializableError { ... }
}

Required Methods§

Source

fn error_chain(&self) -> ErrorIterator<'_>

Creates an iterator over Error::sources

Provided Methods§

Source

fn serializable_copy(&self) -> SerializableError

Copies and flattens the error stack into a SerializableError

Implementors§

Source§

impl<T> IntoErrorIterator for T
where T: Error + 'static,