Trait memory_db::KeyFunction
source · [−]pub trait KeyFunction<H: KeyHasher> {
type Key: Send + Sync + Clone + Hash + Eq;
fn key(hash: &H::Out, prefix: Prefix<'_>) -> Self::Key;
}
pub trait KeyFunction<H: KeyHasher> {
type Key: Send + Sync + Clone + Hash + Eq;
fn key(hash: &H::Out, prefix: Prefix<'_>) -> Self::Key;
}