Trait hash32::Hasher

source ·
pub trait Hasher {
    // Required methods
    fn finish(&self) -> u32;
    fn write(&mut self, bytes: &[u8]);
}
Expand description

See core::hash::Hasher for details

§Contract

Implementers of this trait must not perform any 64-bit (or 128-bit) operation while computing the hash.

Required Methods§

Implementors§

source§

impl Hasher for hash32::FnvHasher

source§

impl Hasher for hash32::Murmur3Hasher