[][src]Trait strerror::IntoChained

pub trait IntoChained {
    fn into_chained<S>(self, source: S) -> StrError
    where
        S: Into<Box<dyn Error + Send + Sync>>
; }

Trait providing into_chained for converting context into a chained error.

You will likely not use this trait directly, and it is not in the prelude. It is used to implement ChainErr and ChainError, which you should use instead.

Required methods

fn into_chained<S>(self, source: S) -> StrError where
    S: Into<Box<dyn Error + Send + Sync>>, 

Loading content...

Implementations on Foreign Types

impl IntoChained for Box<str>[src]

impl<'_> IntoChained for Cow<'_, str>[src]

impl<'_> IntoChained for &'_ str[src]

impl IntoChained for String[src]

impl<'_> IntoChained for &'_ String[src]

Loading content...

Implementors

impl<F, C> IntoChained for F where
    F: FnOnce() -> C,
    C: IntoChained
[src]

Loading content...