Struct patricia_trie::TrieFactory[][src]

pub struct TrieFactory<H: Hasher, C: NodeCodec<H>> { /* fields omitted */ }

Trie factory.

Methods

impl<'db, H, C> TrieFactory<H, C> where
    H: Hasher,
    C: NodeCodec<H> + 'db, 
[src]

Creates new factory.

Create new immutable instance of Trie.

Create new mutable instance of Trie.

Create new mutable instance of trie and check for errors.

Returns true iff the trie DB is a fat DB (allows enumeration of keys).

Trait Implementations

impl<H: Default + Hasher, C: Default + NodeCodec<H>> Default for TrieFactory<H, C>
[src]

Returns the "default value" for a type. Read more

impl<H: Clone + Hasher, C: Clone + NodeCodec<H>> Clone for TrieFactory<H, C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<H, C> Send for TrieFactory<H, C> where
    C: Send

impl<H, C> Sync for TrieFactory<H, C> where
    C: Sync