Struct BufferResult
#[must_use = "Contains a status with potential error information"]
pub struct BufferResult { pub consumed_in: usize, pub consumed_out: usize, pub status: Result<LzwStatus, LzwError> }
The result of a coding operation on a pair of buffer.
Fields
consumed_in: usizeThe number of bytes consumed from the input buffer.
consumed_out: usizeThe number of bytes written into the output buffer.
status: Result<LzwStatus, LzwError>The status after returning from the write call.
Trait Implementations
impl Debug for BufferResult
fn fmt(&self, f: &mut Formatter<'_>) -> Result