Trait fasthash::BufHasher
[−]
[src]
pub trait BufHasher: FastHasher + AsRef<[u8]> { fn with_capacity_and_seed(capacity: usize, seed: Option<Self::Seed>) -> Self; fn len(&self) -> usize { ... } fn as_slice(&self) -> &[u8] { ... } }
Hasher in the buffer mode for short key
Required Methods
fn with_capacity_and_seed(capacity: usize, seed: Option<Self::Seed>) -> Self
Constructs a buffered hasher with capacity and seed
Provided Methods
fn len(&self) -> usize
Returns the number of bytes in the buffer.
fn as_slice(&self) -> &[u8]
Extracts a slice containing the entire buffer.
Implementors
impl BufHasher for CityHasher32
impl BufHasher for CityHasher64
impl BufHasher for CityHasher128
impl BufHasher for CityHasherCrc128
impl BufHasher for FarmHasher32
impl BufHasher for FarmHasher64
impl BufHasher for FarmHasher128
impl BufHasher for Lookup3Hasher
impl BufHasher for MetroHasher64_1
impl BufHasher for MetroHasher64_2
impl BufHasher for MetroHasher128_1
impl BufHasher for MetroHasher128_2
impl BufHasher for MetroHasher64Crc_1
impl BufHasher for MetroHasher64Crc_2
impl BufHasher for MetroHasher128Crc_1
impl BufHasher for MetroHasher128Crc_2
impl BufHasher for MumHasher
impl BufHasher for MurmurHasher
impl BufHasher for MurmurAlignedHasher
impl BufHasher for Murmur2Hasher
impl BufHasher for Murmur2AHasher
impl BufHasher for MurmurNeutral2Hasher
impl BufHasher for MurmurAligned2Hasher
impl BufHasher for Murmur2Hasher_x64_64
impl BufHasher for Murmur2Hasher_x86_64
impl BufHasher for Murmur3Hasher_x86_32
impl BufHasher for Murmur3Hasher_x86_128
impl BufHasher for Murmur3Hasher_x64_128
impl BufHasher for T1ha64LeHasher
impl BufHasher for T1ha64BeHasher
impl BufHasher for T1ha32LeHasher
impl BufHasher for T1ha32BeHasher
impl BufHasher for T1ha64CrcHasher