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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".