pub trait ErrorMap<T, E0> {
type R;
// Required method
fn cxm<S, MF>(self, mf: MF) -> Self::R
where MF: FnOnce() -> S,
S: ToOwned<Owned = String>,
String: Borrow<S>;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".