pub trait Hasher<T>: HasherWrite {
// Required method
fn finish(&self) -> T;
}Expand description
A trait for hashing an arbitrary stream of bytes.
The write methods are defined in the HasherWrite trait.
Required Methods§
Implementations on Foreign Types§
Implementors§
impl Hasher<u64> for Xxh64
Available on crate feature
xxh64 only.impl<T, H: Hasher<T>> Hasher<T> for HasherBe<T, H>
impl<T, H: Hasher<T>> Hasher<T> for HasherLe<T, H>
impl<T: Type, V: Version> Hasher<T> for Fnv<T, V>
Available on crate feature
fnv only.impl<V: Version> Hasher<u32> for SpookyV<V>
Available on crate feature
spooky only.impl<V: Version> Hasher<u64> for SpookyV<V>
Available on crate feature
spooky only.impl<V: Version> Hasher<u128> for SpookyV<V>
Available on crate feature
spooky only.