Struct miniz_oxide::StreamResult[][src]

pub struct StreamResult {
    pub bytes_consumed: usize,
    pub bytes_written: usize,
    pub status: MZResult,
}

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

impl Clone for StreamResult[src]

impl Copy for StreamResult[src]

impl Debug for StreamResult[src]

impl Eq for StreamResult[src]

impl From<&'_ StreamResult> for MZResult[src]

impl From<StreamResult> for MZResult[src]

impl Hash for StreamResult[src]

impl PartialEq<StreamResult> for StreamResult[src]

impl StructuralEq for StreamResult[src]

impl StructuralPartialEq for StreamResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.