[][src]Trait brotli_decompressor::io_wrappers::CustomRead

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

this trait does not allow for transient errors: they must be retried in the underlying layer

Required methods

fn read(&mut self, data: &mut [u8]) -> Result<usize, ErrType>

Loading content...

Implementors

impl<'a, InputType: Read> CustomRead<Error> for IoReaderWrapper<'a, InputType>[src]

impl<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, AllocU8: Allocator<u8>, AllocU32: Allocator<u32>, AllocHC: Allocator<HuffmanCode>> CustomRead<ErrType> for DecompressorCustomIo<ErrType, R, BufferType, AllocU8, AllocU32, AllocHC>[src]

impl<InputType: Read> CustomRead<Error> for IntoIoReader<InputType>[src]

Loading content...