Type Alias StateMemoryResult

Source
pub type StateMemoryResult<T> = Result<T, StateMemoryError>;
Expand description

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

Aliased Type§

pub enum StateMemoryResult<T> {
    Ok(T),
    Err(StateMemoryError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(StateMemoryError)

Contains the error value