pub trait ResultExt<T, E> {
// Required method
fn into_outcome(self) -> Outcome<T, E>;
}Expand description
Extension trait for converting Results to Outcomes.
Required Methods§
Sourcefn into_outcome(self) -> Outcome<T, E>
fn into_outcome(self) -> Outcome<T, E>
Convert a Result to an Outcome.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".