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

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

Required Associated Types§

source

type Key: Send + Sync + Clone + Hash + Eq

Required Methods§

source

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

Implementors§