Result

Type Alias Result 

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

Aliased Type§

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

Variants§

§1.0.0

Ok(R)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

Source§

impl<R> From<Error> for Result<R>

Source§

fn from(value: Error) -> Self

Converts to this type from the input type.