Trait sp_trie::KeyFunction
source · pub trait KeyFunction<H>where
H: Hasher,{
type Key: Send + Sync + Clone + Hash + Eq + MaybeDebug + Ord;
// Required method
fn key(hash: &<H as Hasher>::Out, prefix: (&[u8], Option<u8>)) -> Self::Key;
}
Expand description
Various re-exports from the memory-db
crate.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.