Struct brotli::DecompressorWriter
[−]
[src]
pub struct DecompressorWriter<W>(_)
where
W: Write;
Methods
impl<W> DecompressorWriter<W> where
W: Write,
[src]
W: Write,
ⓘImportant traits for DecompressorWriter<W>pub fn new(w: W, buffer_size: usize) -> DecompressorWriter<W>
[src]
ⓘImportant traits for DecompressorWriter<W>
ⓘImportant traits for DecompressorWriter<W>pub fn new_with_custom_dictionary(
w: W,
buffer_size: usize,
dict: <HeapAlloc<u8> as Allocator<u8>>::AllocatedMemory
) -> DecompressorWriter<W>
[src]
ⓘImportant traits for DecompressorWriter<W>
w: W,
buffer_size: usize,
dict: <HeapAlloc<u8> as Allocator<u8>>::AllocatedMemory
) -> DecompressorWriter<W>
ⓘ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 for DecompressorWriter<W> where
W: Write,
[src]
W: Write,
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,