pub type HashFn<T> = Box<dyn Fn(&T) -> u64 + Send + Sync>;
HashFn defines a function that can produce a u64 from an input value and is thread-safe.
pub struct HashFn<T>(/* private fields */);