[][src]Struct brotli::enc::reader::CompressorReaderCustomIo

pub struct CompressorReaderCustomIo<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> { /* fields omitted */ }

Methods

impl<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CompressorReaderCustomIo<ErrType, R, BufferType, Alloc>[src]

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

pub fn copy_to_front(&mut self)[src]

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

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

Trait Implementations

impl<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CustomRead<ErrType> for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc>[src]

Auto Trait Implementations

impl<ErrType, R, BufferType, Alloc> RefUnwindSafe for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc> where
    Alloc: RefUnwindSafe,
    BufferType: RefUnwindSafe,
    ErrType: RefUnwindSafe,
    R: RefUnwindSafe,
    <Alloc as Allocator<i32>>::AllocatedMemory: RefUnwindSafe,
    <Alloc as Allocator<u16>>::AllocatedMemory: RefUnwindSafe,
    <Alloc as Allocator<u32>>::AllocatedMemory: RefUnwindSafe,
    <Alloc as Allocator<u8>>::AllocatedMemory: RefUnwindSafe,
    <Alloc as Allocator<Command>>::AllocatedMemory: RefUnwindSafe

impl<ErrType, R, BufferType, Alloc> Send for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc> where
    Alloc: Send,
    BufferType: Send,
    ErrType: Send,
    R: 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, R, BufferType, Alloc> Sync for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc> where
    Alloc: Sync,
    BufferType: Sync,
    ErrType: Sync,
    R: 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<ErrType, R, BufferType, Alloc> Unpin for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc> where
    Alloc: Unpin,
    BufferType: Unpin,
    ErrType: Unpin,
    R: 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<ErrType, R, BufferType, Alloc> UnwindSafe for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc> where
    Alloc: UnwindSafe,
    BufferType: UnwindSafe,
    ErrType: UnwindSafe,
    R: UnwindSafe,
    <Alloc as Allocator<i32>>::AllocatedMemory: UnwindSafe,
    <Alloc as Allocator<u16>>::AllocatedMemory: UnwindSafe,
    <Alloc as Allocator<u32>>::AllocatedMemory: UnwindSafe,
    <Alloc as Allocator<u8>>::AllocatedMemory: UnwindSafe,
    <Alloc as Allocator<Command>>::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.