pub trait KeyFunction<H: KeyHasher> {
    type Key: Send + Sync + Clone + Hash + Eq + MaybeDebug + Ord;

    // Required method
    fn key(hash: &H::Out, prefix: Prefix<'_>) -> Self::Key;
}

Required Associated Types§

Required Methods§

source

fn key(hash: &H::Out, prefix: Prefix<'_>) -> Self::Key

Implementors§