pub trait IntoOutcome<T, E> {
// Required method
fn into_outcome(self) -> Outcome<T, E>;
}Expand description
Extension trait for converting HTTP results to asupersync Outcome.
This bridges the HTTP error model with asupersync’s 4-valued outcome (Ok, Err, Cancelled, Panicked).
Required Methods§
Sourcefn into_outcome(self) -> Outcome<T, E>
fn into_outcome(self) -> Outcome<T, E>
Converts this result into an asupersync Outcome.