Trait inner::IntoResult [] [src]

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

Converts a value into a Result. You can implement this for your own types if you want to use the inner! macro in more ergonomic ways.

Required Methods

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

Implementors