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

pub struct CompressorWriterCustomIo<ErrType, W: CustomWrite<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> { /* fields omitted */ }

Methods

impl<ErrType, W: CustomWrite<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CompressorWriterCustomIo<ErrType, W, BufferType, Alloc>[src]

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

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

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

Trait Implementations

impl<ErrType, W: CustomWrite<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> Drop for CompressorWriterCustomIo<ErrType, W, BufferType, Alloc>[src]

impl<ErrType, W: CustomWrite<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CustomWrite<ErrType> for CompressorWriterCustomIo<ErrType, W, BufferType, Alloc>[src]

Auto Trait Implementations

impl<ErrType, W, BufferType, Alloc> Send for CompressorWriterCustomIo<ErrType, W, BufferType, Alloc> where
    Alloc: Send,
    BufferType: Send,
    ErrType: 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<ErrType, W, BufferType, Alloc> Sync for CompressorWriterCustomIo<ErrType, W, BufferType, Alloc> where
    Alloc: Sync,
    BufferType: Sync,
    ErrType: 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

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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