Result

Type Alias Result 

Source
pub type Result<T> = Result<T, Error>;

Aliased Type§

pub enum Result<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

Source§

impl<T> ResultExt for Result<T>

Source§

type Output = Result<T, Error>

Source§

fn convert(self) -> Self

Source§

fn context(self, message: String) -> Self

Source§

fn reword(self, message: String) -> Self