pub trait MapRef<T, E> {
// Required method
fn map_ref<U, F>(self, op: F) -> Result<U, E>
where F: FnOnce(&T) -> U;
}Required Methods§
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.