Trait KeyFunction
Other items inmemory_db
pub trait KeyFunction<H: KeyHasher> { type Key: Send + Sync + Clone + Hash + Eq; fn key(hash: &H::Out, prefix: Prefix<'_>) -> Self::Key; }
type Key: Send + Sync + Clone + Hash + Eq
fn key(hash: &H::Out, prefix: Prefix<'_>) -> Self::Key
impl<H: KeyHasher> KeyFunction<H> for HashKey<H>
impl<H: KeyHasher> KeyFunction<H> for LegacyPrefixedKey<H>
impl<H: KeyHasher> KeyFunction<H> for PrefixedKey<H>