pub trait ErrorWrapper<__Context__, Detail>: IsProviderFor<ErrorWrapperComponent, __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.