Skip to main content

Result

Type Alias Result 

pub type Result<T, E = Error> = Result<T, E>;
Expand description

Result with this crate’s Error as the default error type.

Every fallible engine operation returns this, so -> Result<()> in user code that has use mvcc::Result means the same thing it does here.

Aliased Type§

pub enum Result<T, E = Error> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value