Trait brotli_decompressor::io_wrappers::CustomWrite
source · [−]pub trait CustomWrite<ErrType> {
fn write(&mut self, data: &[u8]) -> Result<usize, ErrType>;
fn flush(&mut self) -> Result<(), ErrType>;
}
Expand description
this trait does not allow for transient errors: they must be retried in the underlying layer