pub trait ErrorMap: 'static + Clone + Send + Sync {
type OutError;
type InError;
// Required method
fn map(e: Self::InError, msg: &str) -> Self::OutError;
}
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.