[−][src]Trait trie_memory::TrieMut
Represents a trie that is mutable.
Required methods
fn root(&self) -> H256
Get the root hash of the current trie.
fn insert(&mut self, key: &[u8], value: &[u8])
Insert a value to the trie.
fn delete(&mut self, key: &[u8])
Delete a value in the trie.
fn get(&self, key: &[u8]) -> Option<Vec<u8>>
Get a value in the trie.