Type Alias MemoryResult

Source
pub type MemoryResult<T> = Result<T, MemoryError>;
Expand description

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

Aliased Type§

pub enum MemoryResult<T> {
    Ok(T),
    Err(MemoryError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(MemoryError)

Contains the error value