pub trait Result<T, E> {
// Required method
fn chain_err<F, EK>(self, callback: F) -> Result<T, YabsError>
where F: FnOnce() -> EK,
EK: Into<YabsErrorKind>;
}
Expand description
Additional methods for Result
, for easy interaction with this crate.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.