Trait trie::DatabaseGuard
[−]
[src]
pub trait DatabaseGuard { fn get(&self, hash: H256) -> Option<Vec<u8>>; fn set(&mut self, hash: H256, value: Vec<u8>); }
Required Methods
Implementors
impl<'a> DatabaseGuard for MemoryDatabaseGuard<'a>
impl DatabaseGuard for HashMap<H256, Vec<u8>>