[][src]Trait into_result::IntoResult

pub trait IntoResult<T, E> {
    fn into_result(self) -> Result<T, E>;

    fn into_option(self) -> Option<T>
    where
        Self: Sized
, { ... } }

Required methods

fn into_result(self) -> Result<T, E>

Loading content...

Provided methods

fn into_option(self) -> Option<T> where
    Self: Sized

Loading content...

Implementations on Foreign Types

impl IntoResult<(), CommandError> for ExitStatus[src]

impl IntoResult<(), CommandError> for Result<ExitStatus>[src]

impl IntoResult<Output, CommandError> for Result<Output>[src]

impl IntoResult<Child, CommandError> for Result<Child>[src]

impl IntoResult<(), ()> for bool[src]

Loading content...

Implementors

Loading content...