Type Alias StackResult

Source
pub type StackResult<T> = Result<T, StackError>;
Expand description

Shorthand for a Result where the error type is a StackError.

Aliased Type§

enum StackResult<T> {
    Ok(T),
    Err(StackError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(StackError)

Contains the error value