Trait brotli::CustomWrite[][src]

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

Implementors