Struct miniz_oxide::StreamResult
source · pub struct StreamResult {
pub bytes_consumed: usize,
pub bytes_written: usize,
pub status: MZResult,
}
Expand description
A structure containg the result of a call to the inflate or deflate streaming functions.
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.
status: MZResult
The return status of the call.
Trait Implementations§
source§impl Clone for StreamResult
impl Clone for StreamResult
source§fn clone(&self) -> StreamResult
fn clone(&self) -> StreamResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StreamResult
impl Debug for StreamResult
source§impl From<&StreamResult> for MZResult
impl From<&StreamResult> for MZResult
source§fn from(res: &StreamResult) -> Self
fn from(res: &StreamResult) -> Self
Converts to this type from the input type.
source§impl From<StreamResult> for MZResult
impl From<StreamResult> for MZResult
source§fn from(res: StreamResult) -> Self
fn from(res: StreamResult) -> Self
Converts to this type from the input type.