[][src]Trait brotli_decompressor::io_wrappers::CustomWrite

pub trait CustomWrite<ErrType> {
    fn write(&mut self, data: &[u8]) -> Result<usize, ErrType>;
fn flush(&mut self) -> Result<(), ErrType>; }

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>

Loading content...

Implementors

impl<'a, OutputType: Write> CustomWrite<Error> for IoWriterWrapper<'a, OutputType>[src]

impl<ErrType, W: CustomWrite<ErrType>, BufferType: SliceWrapperMut<u8>, AllocU8: Allocator<u8>, AllocU32: Allocator<u32>, AllocHC: Allocator<HuffmanCode>> CustomWrite<ErrType> for DecompressorWriterCustomIo<ErrType, W, BufferType, AllocU8, AllocU32, AllocHC>[src]

impl<InputType: Write> CustomWrite<Error> for IntoIoWriter<InputType>[src]

Loading content...