Struct brotli::writer::DecompressorWriterCustomAlloc [−][src]
pub struct DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC>(_)
where
AllocHC: Allocator<HuffmanCode>,
AllocU32: Allocator<u32>,
AllocU8: Allocator<u8>,
BufferType: SliceWrapperMut<u8>,
W: Write;
Methods
impl<W, BufferType, AllocU8, AllocU32, AllocHC> DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Allocator<HuffmanCode>,
AllocU32: Allocator<u32>,
AllocU8: Allocator<u8>,
BufferType: SliceWrapperMut<u8>,
W: Write,
[src]
impl<W, BufferType, AllocU8, AllocU32, AllocHC> DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Allocator<HuffmanCode>,
AllocU32: Allocator<u32>,
AllocU8: Allocator<u8>,
BufferType: SliceWrapperMut<u8>,
W: Write,
ⓘImportant traits for DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC>pub fn new(
w: W,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u32: AllocU32,
alloc_hc: AllocHC
) -> DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC>
[src]
ⓘImportant traits for DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC>
pub fn new(
w: W,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u32: AllocU32,
alloc_hc: AllocHC
) -> DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC>
ⓘImportant traits for DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC>pub fn new_with_custom_dictionary(
w: W,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u32: AllocU32,
alloc_hc: AllocHC,
dict: <AllocU8 as Allocator<u8>>::AllocatedMemory
) -> DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC>
[src]
ⓘImportant traits for DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC>
pub fn new_with_custom_dictionary(
w: W,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u32: AllocU32,
alloc_hc: AllocHC,
dict: <AllocU8 as Allocator<u8>>::AllocatedMemory
) -> DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC>
ⓘImportant traits for &'a mut Ipub fn get_ref(&self) -> &W
[src]
ⓘImportant traits for &'a mut I
pub fn get_ref(&self) -> &W
ⓘImportant traits for &'a mut Ipub fn get_mut(&mut self) -> &mut W
[src]
ⓘImportant traits for &'a mut I
pub fn get_mut(&mut self) -> &mut W
Trait Implementations
impl<W, BufferType, AllocU8, AllocU32, AllocHC> Write for DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Allocator<HuffmanCode>,
AllocU32: Allocator<u32>,
AllocU8: Allocator<u8>,
BufferType: SliceWrapperMut<u8>,
W: Write,
[src]
impl<W, BufferType, AllocU8, AllocU32, AllocHC> Write for DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Allocator<HuffmanCode>,
AllocU32: Allocator<u32>,
AllocU8: Allocator<u8>,
BufferType: SliceWrapperMut<u8>,
W: Write,
fn write(&mut self, buf: &[u8]) -> Result<usize, Error>
[src]
fn write(&mut self, buf: &[u8]) -> Result<usize, Error>
Write a buffer into this object, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<(), Error>
[src]
fn flush(&mut self) -> Result<(), Error>
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0
[src]Attempts to write an entire buffer into this write. Read more
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0[src]
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0
[src]Writes a formatted string into this writer, returning any error encountered. Read more
ⓘImportant traits for &'a mut Ifn by_ref(&mut self) -> &mut Self
1.0.0[src]
ⓘImportant traits for &'a mut I
fn by_ref(&mut self) -> &mut Self
1.0.0
[src]Creates a "by reference" adaptor for this instance of Write
. Read more
Auto Trait Implementations
impl<W, BufferType, AllocU8, AllocU32, AllocHC> Send for DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Send,
AllocU32: Send,
AllocU8: Send,
BufferType: Send,
W: Send,
<AllocHC as Allocator<HuffmanCode>>::AllocatedMemory: Send,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Send,
<AllocU8 as Allocator<u8>>::AllocatedMemory: Send,
impl<W, BufferType, AllocU8, AllocU32, AllocHC> Send for DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Send,
AllocU32: Send,
AllocU8: Send,
BufferType: Send,
W: Send,
<AllocHC as Allocator<HuffmanCode>>::AllocatedMemory: Send,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Send,
<AllocU8 as Allocator<u8>>::AllocatedMemory: Send,
impl<W, BufferType, AllocU8, AllocU32, AllocHC> Sync for DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Sync,
AllocU32: Sync,
AllocU8: Sync,
BufferType: Sync,
W: Sync,
<AllocHC as Allocator<HuffmanCode>>::AllocatedMemory: Sync,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Sync,
<AllocU8 as Allocator<u8>>::AllocatedMemory: Sync,
impl<W, BufferType, AllocU8, AllocU32, AllocHC> Sync for DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Sync,
AllocU32: Sync,
AllocU8: Sync,
BufferType: Sync,
W: Sync,
<AllocHC as Allocator<HuffmanCode>>::AllocatedMemory: Sync,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Sync,
<AllocU8 as Allocator<u8>>::AllocatedMemory: Sync,