pub trait ResultExt<T, E>{
// Required methods
fn ctx<D>(self, context: D) -> Result<T, Context<D>>;
fn with_ctx<D>(self, f: impl FnOnce(&E) -> D) -> Result<T, Context<D>>;
}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.