pub struct InflateResult {
pub bytes_consumed: usize,
pub bytes_written: usize,
pub data_error: bool,
}
Expand description
A structure containing result of streaming inflate.
Fields§
§bytes_consumed: usize
The number of bytes consumed from the input slice.
bytes_written: usize
The number of bytes written to the output slice.
data_error: bool
true if there is error in input buffer
Implementations§
Source§impl InflateResult
impl InflateResult
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InflateResult
impl RefUnwindSafe for InflateResult
impl Send for InflateResult
impl Sync for InflateResult
impl Unpin for InflateResult
impl UnwindSafe for InflateResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more