Struct brotli::reader::DecompressorCustomIo
[−]
[src]
pub struct DecompressorCustomIo<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Allocator<HuffmanCode>,
AllocU32: Allocator<u32>,
AllocU8: Allocator<u8>,
BufferType: SliceWrapperMut<u8>,
R: CustomRead<ErrType>, { /* fields omitted */ }
Methods
impl<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC> DecompressorCustomIo<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Allocator<HuffmanCode>,
AllocU32: Allocator<u32>,
AllocU8: Allocator<u8>,
BufferType: SliceWrapperMut<u8>,
R: CustomRead<ErrType>,
[src]
AllocHC: Allocator<HuffmanCode>,
AllocU32: Allocator<u32>,
AllocU8: Allocator<u8>,
BufferType: SliceWrapperMut<u8>,
R: CustomRead<ErrType>,
pub fn new(
r: R,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u32: AllocU32,
alloc_hc: AllocHC,
invalid_data_error_type: ErrType
) -> DecompressorCustomIo<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC>
[src]
r: R,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u32: AllocU32,
alloc_hc: AllocHC,
invalid_data_error_type: ErrType
) -> DecompressorCustomIo<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC>
pub fn new_with_custom_dictionary(
r: R,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u32: AllocU32,
alloc_hc: AllocHC,
dict: <AllocU8 as Allocator<u8>>::AllocatedMemory,
invalid_data_error_type: ErrType
) -> DecompressorCustomIo<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC>
[src]
r: R,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u32: AllocU32,
alloc_hc: AllocHC,
dict: <AllocU8 as Allocator<u8>>::AllocatedMemory,
invalid_data_error_type: ErrType
) -> DecompressorCustomIo<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC>
ⓘImportant traits for &'a mut Ipub fn get_ref(&self) -> &R
[src]
ⓘImportant traits for &'a mut I
ⓘImportant traits for &'a mut Ipub fn get_mut(&mut self) -> &mut R
[src]
ⓘImportant traits for &'a mut I
pub fn copy_to_front(&mut self)
[src]
Trait Implementations
impl<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC> CustomRead<ErrType> for DecompressorCustomIo<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Allocator<HuffmanCode>,
AllocU32: Allocator<u32>,
AllocU8: Allocator<u8>,
BufferType: SliceWrapperMut<u8>,
R: CustomRead<ErrType>,
[src]
AllocHC: Allocator<HuffmanCode>,
AllocU32: Allocator<u32>,
AllocU8: Allocator<u8>,
BufferType: SliceWrapperMut<u8>,
R: CustomRead<ErrType>,
Auto Trait Implementations
impl<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC> Send for DecompressorCustomIo<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Send,
AllocU32: Send,
AllocU8: Send,
BufferType: Send,
ErrType: Send,
R: Send,
<AllocHC as Allocator<HuffmanCode>>::AllocatedMemory: Send,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Send,
<AllocU8 as Allocator<u8>>::AllocatedMemory: Send,
AllocHC: Send,
AllocU32: Send,
AllocU8: Send,
BufferType: Send,
ErrType: Send,
R: Send,
<AllocHC as Allocator<HuffmanCode>>::AllocatedMemory: Send,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Send,
<AllocU8 as Allocator<u8>>::AllocatedMemory: Send,
impl<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC> Sync for DecompressorCustomIo<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Sync,
AllocU32: Sync,
AllocU8: Sync,
BufferType: Sync,
ErrType: Sync,
R: Sync,
<AllocHC as Allocator<HuffmanCode>>::AllocatedMemory: Sync,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Sync,
<AllocU8 as Allocator<u8>>::AllocatedMemory: Sync,
AllocHC: Sync,
AllocU32: Sync,
AllocU8: Sync,
BufferType: Sync,
ErrType: Sync,
R: Sync,
<AllocHC as Allocator<HuffmanCode>>::AllocatedMemory: Sync,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Sync,
<AllocU8 as Allocator<u8>>::AllocatedMemory: Sync,