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.