CalculationResult

Type Alias CalculationResult 

Source
pub type CalculationResult<O, S, E> = Result<Output<O, S>, TrellisError<O, E>>;
Expand description

Type alias for the result of running a calculation

Aliased Type§

pub enum CalculationResult<O, S, E> {
    Ok(Output<O, S>),
    Err(TrellisError<O, E>),
}

Variants§

§1.0.0

Ok(Output<O, S>)

Contains the success value

§1.0.0

Err(TrellisError<O, E>)

Contains the error value