Trait IntoOutcome

Source
pub trait IntoOutcome {
    type Content;

    // Required method
    fn into_outcome(self) -> Outcome<Self::Content>;
}

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Source§

impl<T, E> IntoOutcome for Result<T, E>
where T: Into<Content<T>>, E: Error,

Implementors§

Source§

impl<T> IntoOutcome for T
where T: Into<Content<T>>,