pub trait ResultExt<T, E> {
// Required methods
fn map_into<U>(self) -> Result<U, E>
where U: From<T>;
fn map_err_into<F>(self) -> Result<T, F>
where F: From<E>;
}Required Methods§
fn map_into<U>(self) -> Result<U, E>where
U: From<T>,
fn map_err_into<F>(self) -> Result<T, F>where
F: From<E>,
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.