Trait hash_db::HashDBRef [−][src]
Trait for immutable reference of HashDB.
Required methods
fn get(&self, key: &H::Out, prefix: Prefix<'_>) -> Option<T>
[src]
Look up a given hash into the bytes that hash to it, returning None if the hash is not known.
fn contains(&self, key: &H::Out, prefix: Prefix<'_>) -> bool
[src]
Check for the existance of a hash-key.