pub trait HashMany {
type Input;
type Output;
// Required method
fn hash_many(
&self,
input: &[Self::Input],
num_outputs: u16,
) -> Vec<Self::Output>;
}Expand description
A trait for a hash function that produces multiple outputs.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".