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