pub trait ErrorExt {
// Required methods
fn wrap(self) -> Error;
fn context<C: Display + Send + Sync + 'static>(self, ctx: C) -> Error;
}
Required Methods§
fn wrap(self) -> Error
fn context<C: Display + Send + Sync + 'static>(self, ctx: C) -> Error
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.