Trait lz_fnv::FnvHasher
[−]
[src]
pub trait FnvHasher { type Hash; fn finish(&self) -> Self::Hash; fn write(&mut self, bytes: &[u8]); }
A trait for all Fowler-Noll-Vo hash implementations.
This matches the std::hash::Hasher
definition but for multiple hash
types.
Associated Types
type Hash
The type of the hash.
Required Methods
fn finish(&self) -> Self::Hash
Completes a round of hashing, producing the output hash generated.
fn write(&mut self, bytes: &[u8])
Writes some data into this Hasher.