Trait StdError

Source
pub trait StdError {
    // Required method
    fn ext_context<C>(self, context: C) -> Error
       where C: Display + Send + Sync + 'static;
}

Required Methods§

Source

fn ext_context<C>(self, context: C) -> Error
where C: Display + Send + Sync + 'static,

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.

Implementors§

Source§

impl StdError for Error

Source§

impl<E> StdError for E
where E: StdError + Send + Sync + 'static,