[][src]Struct fasthash::sea::Hasher64

pub struct Hasher64 { /* fields omitted */ }

The streaming version of the algorithm.

Methods

impl SeaHasher[src]

pub fn new() -> SeaHasher[src]

Create a new SeaHasher with default state.

pub fn with_seeds(k1: u64, k2: u64, k3: u64, k4: u64) -> SeaHasher[src]

Construct a new SeaHasher given some seed.

For maximum quality, these seeds should be chosen at random.

Trait Implementations

impl Default for SeaHasher[src]

impl Hasher for SeaHasher[src]

fn write_u128(&mut self, i: u128)
1.26.0
[src]

Writes a single u128 into this hasher.

fn write_i128(&mut self, i: i128)
1.26.0
[src]

Writes a single i128 into this hasher.

impl FastHasher for Hasher64[src]

type Seed = (u64, u64, u64, u64)

The seed to generate hash value.

fn new_with_random_seed() -> Self[src]

Constructs a new FastHasher with a random seed.

impl StreamHasher for Hasher64[src]

fn write_stream<R: Read>(&mut self, r: &mut R) -> Result<usize>[src]

Writes the stream into this hasher.

Auto Trait Implementations

impl Send for SeaHasher

impl Sync for SeaHasher

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]