pub trait Hashable {
type Bytes<'a>: AsRef<[u8]>
where Self: 'a;
// Required method
fn as_bytes(&self) -> Self::Bytes<'_>;
}
Expand description
Trait of types which can be hashed with PTHash perfect hash functions.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.