Struct brotli_decompressor::writer::DecompressorWriter
[−]
[src]
pub struct DecompressorWriter<W: Write>(_);
Methods
impl<W: Write> DecompressorWriter<W>
[src]
pub fn new(w: W, buffer_size: usize) -> Self
[src]
pub fn new_with_custom_dictionary(
w: W,
buffer_size: usize,
dict: <HeapAlloc<u8> as Allocator<u8>>::AllocatedMemory
) -> Self
[src]
w: W,
buffer_size: usize,
dict: <HeapAlloc<u8> as Allocator<u8>>::AllocatedMemory
) -> Self
ⓘImportant traits for &'a mut Ipub fn get_ref(&self) -> &W
[src]
ⓘImportant traits for &'a mut I
ⓘImportant traits for &'a mut Ipub fn get_mut(&mut self) -> &mut W
[src]
ⓘImportant traits for &'a mut I
Trait Implementations
impl<W: Write> Write for DecompressorWriter<W>
[src]
fn write(&mut self, buf: &[u8]) -> Result<usize, Error>
[src]
Write a buffer into this object, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<(), Error>
[src]
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]
Attempts to write an entire buffer into this write. Read more
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
Creates a "by reference" adaptor for this instance of Write
. Read more
Auto Trait Implementations
impl<W> Send for DecompressorWriter<W> where
W: Send,
W: Send,
impl<W> Sync for DecompressorWriter<W> where
W: Sync,
W: Sync,