Struct fxhash::FxHasher[][src]

pub struct FxHasher { /* fields omitted */ }

This hashing algorithm was extracted from the Rustc compiler. This is the same hashing algoirthm used for some internal operations in FireFox. The strength of this algorithm is in hashing 8 bytes at a time on 64-bit platforms, where the FNV algorithm works on one byte at a time.

This hashing algorithm should not be used for cryptographic, or in scenarios where DOS attacks are a concern.

Trait Implementations

impl Clone for FxHasher[src]

impl Debug for FxHasher[src]

impl Default for FxHasher[src]

impl Hasher for FxHasher[src]

Auto Trait Implementations

impl RefUnwindSafe for FxHasher

impl Send for FxHasher

impl Sync for FxHasher

impl Unpin for FxHasher

impl UnwindSafe for FxHasher

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.