pub trait MapErr<T>: Into<Result<T, Error>> {
// Provided method
fn convert_err(self) -> Result<T> { ... }
}
Provided Methods§
fn convert_err(self) -> Result<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.