Skip to main content

Result

Type Alias Result 

Source
pub type Result<T> = Result<T, IronError>;
Expand description

A specialized Result type for Iron Protocol operations

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(IronError)

Contains the error value