Type Alias CrateResult

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

Custom version of Result, based on this crate’s CrateError.

Aliased Type§

pub enum CrateResult<T> {
    Ok(T),
    Err(CrateError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CrateError)

Contains the error value