Type Alias trie_db::Result

source ·
pub type Result<T, H, E> = Result<T, Box<TrieError<H, E>>>;
Expand description

Trie result type. Boxed to avoid copying around extra space for the Hashers Out on successful queries.

Aliased Type§

enum Result<T, H, E> {
    Ok(T),
    Err(Box<TrieError<H, E>>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

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

Contains the error value