pub trait ChainErr<T> {
// Required method
fn chain_err<F, EK>(self, callback: F) -> Result<T, Error>
where F: FnOnce() -> EK,
EK: Into<ErrorKind>;
}
Expand description
Alias for Result<T, RustacheError
>
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.