pub trait ErrorExt<T> {
// Required method
fn or_err(self, s: impl ToString) -> Result<T, Error>;
}
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.