[][src]Struct brotli::enc::writer::CompressorWriterCustomAlloc

pub struct CompressorWriterCustomAlloc<W: Write, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc>(_);

Methods

impl<W: Write, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CompressorWriterCustomAlloc<W, BufferType, Alloc>[src]

pub fn new(w: W, buffer: BufferType, alloc: Alloc, q: u32, lgwin: u32) -> Self[src]

pub fn get_ref(&self) -> &W[src]

pub fn into_inner(self) -> W[src]

Trait Implementations

impl<W: Write, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> Write for CompressorWriterCustomAlloc<W, BufferType, Alloc>[src]

Auto Trait Implementations

impl<W, BufferType, Alloc> !RefUnwindSafe for CompressorWriterCustomAlloc<W, BufferType, Alloc>

impl<W, BufferType, Alloc> Send for CompressorWriterCustomAlloc<W, BufferType, Alloc> where
    Alloc: Send,
    BufferType: Send,
    W: Send,
    <Alloc as Allocator<i32>>::AllocatedMemory: Send,
    <Alloc as Allocator<u16>>::AllocatedMemory: Send,
    <Alloc as Allocator<u32>>::AllocatedMemory: Send,
    <Alloc as Allocator<u8>>::AllocatedMemory: Send,
    <Alloc as Allocator<Command>>::AllocatedMemory: Send

impl<W, BufferType, Alloc> Sync for CompressorWriterCustomAlloc<W, BufferType, Alloc> where
    Alloc: Sync,
    BufferType: Sync,
    W: Sync,
    <Alloc as Allocator<i32>>::AllocatedMemory: Sync,
    <Alloc as Allocator<u16>>::AllocatedMemory: Sync,
    <Alloc as Allocator<u32>>::AllocatedMemory: Sync,
    <Alloc as Allocator<u8>>::AllocatedMemory: Sync,
    <Alloc as Allocator<Command>>::AllocatedMemory: Sync

impl<W, BufferType, Alloc> Unpin for CompressorWriterCustomAlloc<W, BufferType, Alloc> where
    Alloc: Unpin,
    BufferType: Unpin,
    W: Unpin,
    <Alloc as Allocator<i32>>::AllocatedMemory: Unpin,
    <Alloc as Allocator<u16>>::AllocatedMemory: Unpin,
    <Alloc as Allocator<u32>>::AllocatedMemory: Unpin,
    <Alloc as Allocator<u8>>::AllocatedMemory: Unpin,
    <Alloc as Allocator<Command>>::AllocatedMemory: Unpin

impl<W, BufferType, Alloc> !UnwindSafe for CompressorWriterCustomAlloc<W, BufferType, Alloc>

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.