[][src]Enum brotli::enc::backward_references::UnionHasher

pub enum UnionHasher<Alloc: Allocator<u16> + Allocator<u32>> {
    Uninit,
    H2(BasicHasher<H2Sub<Alloc>>),
    H3(BasicHasher<H3Sub<Alloc>>),
    H4(BasicHasher<H4Sub<Alloc>>),
    H54(BasicHasher<H54Sub<Alloc>>),
    H5(AdvHasher<H5Sub, Alloc>),
    H5q7(AdvHasher<HQ7Sub, Alloc>),
    H5q5(AdvHasher<HQ5Sub, Alloc>),
    H6(AdvHasher<H6Sub, Alloc>),
    H9(AdvHasher<H9Sub, Alloc>),
    H10(H10<Alloc, H10Buckets<Alloc>, H10DefaultParams>),
}

Variants

Uninit
H2(BasicHasher<H2Sub<Alloc>>)
H3(BasicHasher<H3Sub<Alloc>>)
H4(BasicHasher<H4Sub<Alloc>>)
H54(BasicHasher<H54Sub<Alloc>>)
H5(AdvHasher<H5Sub, Alloc>)
H5q7(AdvHasher<HQ7Sub, Alloc>)
H5q5(AdvHasher<HQ5Sub, Alloc>)
H6(AdvHasher<H6Sub, Alloc>)
H9(AdvHasher<H9Sub, Alloc>)
H10(H10<Alloc, H10Buckets<Alloc>, H10DefaultParams>)

Methods

impl<Alloc: Allocator<u16> + Allocator<u32>> UnionHasher<Alloc>[src]

pub fn free(&mut self, alloc: &mut Alloc)[src]

Trait Implementations

impl<Alloc: Allocator<u16> + Allocator<u32>> AnyHasher for UnionHasher<Alloc>[src]

impl<Alloc: Allocator<u16> + Allocator<u32>> CloneWithAlloc<Alloc> for UnionHasher<Alloc>[src]

impl<Alloc: Allocator<u16> + Allocator<u32>> Default for UnionHasher<Alloc>[src]

impl<Alloc: Allocator<u16> + Allocator<u32>> PartialEq<UnionHasher<Alloc>> for UnionHasher<Alloc>[src]

Auto Trait Implementations

impl<Alloc> RefUnwindSafe for UnionHasher<Alloc> where
    <Alloc as Allocator<u16>>::AllocatedMemory: RefUnwindSafe,
    <Alloc as Allocator<u32>>::AllocatedMemory: RefUnwindSafe

impl<Alloc> Send for UnionHasher<Alloc> where
    <Alloc as Allocator<u16>>::AllocatedMemory: Send,
    <Alloc as Allocator<u32>>::AllocatedMemory: Send

impl<Alloc> Sync for UnionHasher<Alloc> where
    <Alloc as Allocator<u16>>::AllocatedMemory: Sync,
    <Alloc as Allocator<u32>>::AllocatedMemory: Sync

impl<Alloc> Unpin for UnionHasher<Alloc> where
    <Alloc as Allocator<u16>>::AllocatedMemory: Unpin,
    <Alloc as Allocator<u32>>::AllocatedMemory: Unpin

impl<Alloc> UnwindSafe for UnionHasher<Alloc> where
    <Alloc as Allocator<u16>>::AllocatedMemory: UnwindSafe,
    <Alloc as Allocator<u32>>::AllocatedMemory: UnwindSafe

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, 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.