Struct trie::FixedTrie
[−]
[src]
pub struct FixedTrie<D: DatabaseGuard, K: Encodable + Decodable, V: Encodable + Decodable>(_, _);
Methods
impl<D: DatabaseGuard, K: Encodable + Decodable, V: Encodable + Decodable> FixedTrie<D, K, V>
[src]
fn new(trie: Trie<D>) -> Self
[src]
fn empty(database: D) -> Self
[src]
fn existing(database: D, root: H256) -> Self
[src]
fn root(&self) -> H256
[src]
fn is_empty(&self) -> bool
[src]
fn get(&self, key: &K) -> Option<V>
[src]
fn insert(&mut self, key: K, value: V)
[src]
fn remove(&mut self, key: &K)
[src]
fn iter(&self) -> FixedMerkleIterator<D, K, V>
[src]
Trait Implementations
impl<D: Clone + DatabaseGuard, K: Clone + Encodable + Decodable, V: Clone + Encodable + Decodable> Clone for FixedTrie<D, K, V>
[src]
fn clone(&self) -> FixedTrie<D, K, V>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more