pub trait ResultExt<T> {
// Required method
fn chain_err<F, EK>(self, callback: F) -> Result<T, Error>
where F: FnOnce() -> EK,
EK: Into<ErrorKind>;
}
Expand description
Additional methods for Result
, for easy interaction with this crate.
Required Methods§
Object Safety§
This trait is not object safe.