Skip to main content

PromotionResult

Type Alias PromotionResult 

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

Result type used throughout the promoter core.

Aliased Type§

pub enum PromotionResult<T> {
    Ok(T),
    Err(PromotionError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(PromotionError)

Contains the error value