Enum patricia_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]

[src]

Return the root of the trie.

[src]

Is the trie empty?

[src]

Does the trie contain a given key?

[src]

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

[src]

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

[src]

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