pub trait Hashable<Hasher> {
// Required method
fn write(&self, hasher: &mut Hasher);
}
Expand description
Something that we know how to hash.
Required Methods§
Sourcefn write(&self, hasher: &mut Hasher)
fn write(&self, hasher: &mut Hasher)
Send the content of Self
to the given hasher.