Type Alias trie_db::TrieItem

source ·
pub type TrieItem<U, E> = Result<(Vec<u8>, DBValue), U, E>;
Expand description

Trie-Item type used for iterators over trie data.

Aliased Type§

enum TrieItem<U, E> {
    Ok((Vec<u8>, Vec<u8>)),
    Err(Box<TrieError<U, E>>),
}

Variants§

§1.0.0

Ok((Vec<u8>, Vec<u8>))

Contains the success value

§1.0.0

Err(Box<TrieError<U, E>>)

Contains the error value