[−][src]Trait brotli::reader::CustomWrite
this trait does not allow for transient errors: they must be retried in the underlying layer
Required methods
fn write(&mut self, data: &[u8]) -> Result<usize, ErrType>
fn flush(&mut self) -> Result<(), ErrType>
Implementors
impl<'a, OutputType> CustomWrite<Error> for IoWriterWrapper<'a, OutputType> where
OutputType: Write,
[src]
OutputType: Write,
fn write(&mut self, buf: &[u8]) -> Result<usize, Error>
[src]
fn flush(&mut self) -> Result<(), Error>
[src]
impl<ErrType, W, BufferType, AllocU8, AllocU32, AllocHC> CustomWrite<ErrType> for DecompressorWriterCustomIo<ErrType, W, BufferType, AllocU8, AllocU32, AllocHC> where
AllocHC: Allocator<HuffmanCode>,
AllocU32: Allocator<u32>,
AllocU8: Allocator<u8>,
BufferType: SliceWrapperMut<u8>,
W: CustomWrite<ErrType>,
[src]
AllocHC: Allocator<HuffmanCode>,
AllocU32: Allocator<u32>,
AllocU8: Allocator<u8>,
BufferType: SliceWrapperMut<u8>,
W: CustomWrite<ErrType>,
fn write(&mut self, buf: &[u8]) -> Result<usize, ErrType>
[src]
fn flush(&mut self) -> Result<(), ErrType>
[src]
impl<ErrType, W: CustomWrite<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CustomWrite<ErrType> for CompressorWriterCustomIo<ErrType, W, BufferType, Alloc>
[src]
fn write(&mut self, buf: &[u8]) -> Result<usize, ErrType>
[src]
fn flush(&mut self) -> Result<(), ErrType>
[src]
impl<InputType> CustomWrite<Error> for IntoIoWriter<InputType> where
InputType: Write,
[src]
InputType: Write,