pub trait CargoResultExt<T, E> {
// Required method
fn chain_err<F, D>(self, f: F) -> CargoResult<T>
where F: FnOnce() -> D,
D: Display + Send + Sync + 'static;
}Required Methods§
fn chain_err<F, D>(self, f: F) -> CargoResult<T>
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.