Struct brotli::enc::reader::CompressorReaderCustomIo
source · pub struct CompressorReaderCustomIo<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> {
input_buffer: BufferType,
total_out: Option<usize>,
input_offset: usize,
input_len: usize,
input: R,
input_eof: bool,
error_if_invalid_data: Option<ErrType>,
state: StateWrapper<Alloc>,
}
Fields§
§input_buffer: BufferType
§total_out: Option<usize>
§input_offset: usize
§input_len: usize
§input: R
§input_eof: bool
§error_if_invalid_data: Option<ErrType>
§state: StateWrapper<Alloc>
Implementations§
source§impl<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CompressorReaderCustomIo<ErrType, R, BufferType, Alloc>
impl<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CompressorReaderCustomIo<ErrType, R, BufferType, Alloc>
Trait Implementations§
source§impl<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CustomRead<ErrType> for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc>
impl<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CustomRead<ErrType> for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc>
Auto Trait Implementations§
impl<ErrType, R, BufferType, Alloc> Freeze for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc>where
BufferType: Freeze,
R: Freeze,
ErrType: Freeze,
Alloc: Freeze,
<Alloc as Allocator<Command>>::AllocatedMemory: Freeze,
<Alloc as Allocator<u8>>::AllocatedMemory: Freeze,
<Alloc as Allocator<i32>>::AllocatedMemory: Freeze,
<Alloc as Allocator<u32>>::AllocatedMemory: Freeze,
<Alloc as Allocator<u16>>::AllocatedMemory: Freeze,
impl<ErrType, R, BufferType, Alloc> RefUnwindSafe for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc>where
BufferType: RefUnwindSafe,
R: RefUnwindSafe,
ErrType: RefUnwindSafe,
Alloc: RefUnwindSafe,
<Alloc as Allocator<Command>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<u8>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<i32>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<u32>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<u16>>::AllocatedMemory: RefUnwindSafe,
impl<ErrType, R, BufferType, Alloc> Send for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc>where
BufferType: Send,
R: Send,
ErrType: Send,
Alloc: Send,
<Alloc as Allocator<Command>>::AllocatedMemory: Send,
<Alloc as Allocator<u8>>::AllocatedMemory: Send,
<Alloc as Allocator<i32>>::AllocatedMemory: Send,
<Alloc as Allocator<u32>>::AllocatedMemory: Send,
<Alloc as Allocator<u16>>::AllocatedMemory: Send,
impl<ErrType, R, BufferType, Alloc> Sync for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc>where
BufferType: Sync,
R: Sync,
ErrType: Sync,
Alloc: Sync,
<Alloc as Allocator<Command>>::AllocatedMemory: Sync,
<Alloc as Allocator<u8>>::AllocatedMemory: Sync,
<Alloc as Allocator<i32>>::AllocatedMemory: Sync,
<Alloc as Allocator<u32>>::AllocatedMemory: Sync,
<Alloc as Allocator<u16>>::AllocatedMemory: Sync,
impl<ErrType, R, BufferType, Alloc> Unpin for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc>where
BufferType: Unpin,
R: Unpin,
ErrType: Unpin,
Alloc: Unpin,
<Alloc as Allocator<Command>>::AllocatedMemory: Unpin,
<Alloc as Allocator<u8>>::AllocatedMemory: Unpin,
<Alloc as Allocator<i32>>::AllocatedMemory: Unpin,
<Alloc as Allocator<u32>>::AllocatedMemory: Unpin,
<Alloc as Allocator<u16>>::AllocatedMemory: Unpin,
impl<ErrType, R, BufferType, Alloc> UnwindSafe for CompressorReaderCustomIo<ErrType, R, BufferType, Alloc>where
BufferType: UnwindSafe,
R: UnwindSafe,
ErrType: UnwindSafe,
Alloc: UnwindSafe,
<Alloc as Allocator<Command>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<u8>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<i32>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<u32>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<u16>>::AllocatedMemory: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more