Skip to main content

EngineResult

Type Alias EngineResult 

Source
pub type EngineResult<T = ()> = Result<T, EngineError>;
Expand description

Result alias used throughout the StorageEngine trait

Aliased Type§

pub enum EngineResult<T = ()> {
    Ok(T),
    Err(EngineError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(EngineError)

Contains the error value