pub trait CanWrapError<Detail>: HasErrorType {
// Required method
fn wrap_error(
error: <Self as HasErrorType>::Error,
detail: Detail,
) -> <Self as HasErrorType>::Error;
}Required Methods§
fn wrap_error( error: <Self as HasErrorType>::Error, detail: Detail, ) -> <Self as HasErrorType>::Error
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".