Skip to main content

CostResult

Type Alias CostResult 

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

Type of result for the cost calculation

Aliased Type§

pub enum CostResult<T> {
    Ok(T),
    Err(CostError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CostError)

Contains the error value