pub trait AddContext<T, E>: Context<T, E> {
// Provided method
fn err_context<C: Display + Send + Sync + 'static>(
self,
msg: C,
) -> Result<T, Error>
where Self: Sized { ... }
}
Provided Methods§
fn err_context<C: Display + Send + Sync + 'static>(
self,
msg: C,
) -> Result<T, Error>where
Self: Sized,
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.