Trait std::result::IntoResult

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

A generic trait for converting a value to a Result

Required Methods

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

Convert to the result type

Implementors