pub trait IntoResult<T> {
    type Err;

    // Required method
    fn into_result(self) -> Result<T, Self::Err>;
}

Required Associated Types§

Required Methods§

source

fn into_result(self) -> Result<T, Self::Err>

Implementations on Foreign Types§

source§

impl<T, E> IntoResult<T> for Result<T, E>

§

type Err = E

source§

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

source§

impl<T> IntoResult<T> for Option<T>

§

type Err = ParseError

source§

fn into_result(self) -> Result<T, Self::Err>

Implementors§

source§

impl<T> IntoResult<T> for T