[][src]Trait strerror::ChainError

pub trait ChainError {
    fn chain_error<C>(self, context: C) -> StrError
    where
        C: IntoChained
; }

Trait providing chain_error for converting an error of any type to a StrError.

See crate level documentation for usage examples.

Required methods

fn chain_error<C>(self, context: C) -> StrError where
    C: IntoChained

Convert an error of any type to a StrError, adding context.

Loading content...

Implementors

impl<E> ChainError for E where
    E: Into<Box<dyn Error + Send + Sync>>, 
[src]

Loading content...