reth_db_api::common

Type Alias ValueOnlyResult

source
pub type ValueOnlyResult<T> = Result<Option<<T as Table>::Value>, DatabaseError>;
Expand description

A value only result for table T.

Aliased Type§

enum ValueOnlyResult<T> {
    Ok(Option<<T as Table>::Value>),
    Err(DatabaseError),
}

Variants§

§1.0.0

Ok(Option<<T as Table>::Value>)

Contains the success value

§1.0.0

Err(DatabaseError)

Contains the error value

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.