Type Alias GetResult

Source
pub type GetResult<T> = Result<T, SimError>;
Expand description

The return value from a call to get()

It can either return a value or a [SimError].

Aliased Type§

pub enum GetResult<T> {
    Ok(T),
    Err(SimError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SimError)

Contains the error value