Enum ethcore_util::trie::TrieKinds [] [src]

pub enum TrieKinds<'db> {
    Generic(TrieDB<'db>),
    Secure(SecTrieDB<'db>),
    Fat(FatDB<'db>),
}

All different kinds of tries. This is used to prevent a heap allocation for every created trie.

Variants

A generic trie db.

A secure trie db.

A fat trie db.

Trait Implementations

impl<'db> Trie for TrieKinds<'db>
[src]

Return the root of the trie.

Is the trie empty?

Does the trie contain a given key?

Search for the key with the given query parameter. See the docs of the Query trait for more details. Read more

Returns a depth-first iterator over the elements of trie.

What is the value of the given key in this trie?