pub trait HashDBRef<H, T>where
H: Hasher,{
fn get(
&self,
key: &<H as Hasher>::Out,
prefix: (&[u8], Option<u8>)
) -> Option<T>;
fn contains(
&self,
key: &<H as Hasher>::Out,
prefix: (&[u8], Option<u8>)
) -> bool;
}
Expand description
Trait for immutable reference of HashDB.