reth_db::common

Type Alias IterPairResult

Source
pub type IterPairResult<T> = Option<Result<(<T as Table>::Key, <T as Table>::Value), DatabaseError>>;
Expand description

A key-value pair coming from an iterator.

The Result represents that the operation might fail, while the Option represents whether or not there is another entry.

Aliased Type§

enum IterPairResult<T> {
    None,
    Some(Result<(<T as Table>::Key, <T as Table>::Value), DatabaseError>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Result<(<T as Table>::Key, <T as Table>::Value), DatabaseError>)

Some value of type T.

Layout§

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