Trait hash_db::PlainDBRef
source · pub trait PlainDBRef<K, V> {
// Required methods
fn get(&self, key: &K) -> Option<V>;
fn contains(&self, key: &K) -> bool;
}
Expand description
Trait for immutable reference of PlainDB.
pub trait PlainDBRef<K, V> {
// Required methods
fn get(&self, key: &K) -> Option<V>;
fn contains(&self, key: &K) -> bool;
}
Trait for immutable reference of PlainDB.