Trait brotli::CustomRead
source · pub trait CustomRead<ErrType> {
// Required method
fn read(&mut self, data: &mut [u8]) -> Result<usize, ErrType>;
}
Expand description
this trait does not allow for transient errors: they must be retried in the underlying layer