Struct fasthash::metro::MetroHash128Crc_1 [−][src]
pub struct MetroHash128Crc_1 {}
MetroHash
128-bit hash functions using HW CRC instruction.
Trait Implementations
impl FastHash for MetroHash128Crc_1
[src]
impl FastHash for MetroHash128Crc_1
type Value = u128
The output hash generated value.
type Seed = u32
The seed to generate hash value.
fn hash_with_seed<T: AsRef<[u8]>>(bytes: &T, seed: u32) -> u128
[src]
fn hash_with_seed<T: AsRef<[u8]>>(bytes: &T, seed: u32) -> u128
Hash functions for a byte array. For convenience, a seed is also hashed into the result. Read more
fn hash<T: AsRef<[u8]>>(bytes: &T) -> Self::Value
[src]
fn hash<T: AsRef<[u8]>>(bytes: &T) -> Self::Value
Hash functions for a byte array.
impl BuildHasher for MetroHash128Crc_1
[src]
impl BuildHasher for MetroHash128Crc_1
type Hasher = MetroHasher128Crc_1
Type of the hasher that will be created.
fn build_hasher(&self) -> Self::Hasher
[src]
fn build_hasher(&self) -> Self::Hasher
Creates a new hasher. Read more
Auto Trait Implementations
impl Send for MetroHash128Crc_1
impl Send for MetroHash128Crc_1
impl Sync for MetroHash128Crc_1
impl Sync for MetroHash128Crc_1