pub trait ErrorWrapper<Context, Detail>where
Context: HasErrorType,{
// Required method
fn wrap_error(error: Context::Error, detail: Detail) -> Context::Error;
}Required Methods§
fn wrap_error(error: Context::Error, detail: Detail) -> Context::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.