pub trait Context<T, E> {
// Required methods
fn add_context<C>(self, ctx: C) -> AsyncFusexResult<T>
where C: Into<String>;
fn with_context<C, F>(self, f: F) -> AsyncFusexResult<T>
where C: Into<String>,
F: FnOnce() -> C;
}Required Methods§
fn add_context<C>(self, ctx: C) -> AsyncFusexResult<T>
fn with_context<C, F>(self, f: F) -> AsyncFusexResult<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.