Skip to main content

CasResult

Type Alias CasResult 

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

The result type returned by all fallible cas-lib operations.

Aliased Type§

pub enum CasResult<T> {
    Ok(T),
    Err(CasError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CasError)

Contains the error value