pub trait ResultExt {
type Value;
type Error;
// Required method
fn err_into<E>(self) -> Result<Self::Value, E>
where E: From<Self::Error>;
}
Expand description
A helper trait to map the error variant of a Result
to inferred type with From
/Into
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.