[−][src]Trait strerror::ErrorChainExt
Functionality for converting an error of any type to a StrError
.
In the case of Option
, the None
value is considered an error.
See crate level documentation for usage examples.
Required methods
fn chain(self, context: T) -> U
Convert an error of any type to a StrError
.
Implementations on Foreign Types
impl<T, U, E> ErrorChainExt<T, Result<U, StrError>> for Result<U, E> where
E: Into<Box<dyn Error + Send + Sync>>,
T: Into<String>,
[src]
E: Into<Box<dyn Error + Send + Sync>>,
T: Into<String>,
impl<T, U> ErrorChainExt<T, Result<U, StrError>> for Option<U> where
T: Into<String>,
[src]
Loading content...
T: Into<String>,
Implementors
impl<T, E> ErrorChainExt<T, StrError> for E where
E: Into<Box<dyn Error + Send + Sync>>,
T: Into<String>,
[src]
E: Into<Box<dyn Error + Send + Sync>>,
T: Into<String>,