MZResult

Type Alias MZResult 

Source
pub type MZResult = Result<MZStatus, MZError>;
Expand description

Result alias for all miniz status codes both successful and failed.

Aliased Type§

pub enum MZResult {
    Ok(MZStatus),
    Err(MZError),
}

Variants§

§1.0.0

Ok(MZStatus)

Contains the success value

§1.0.0

Err(MZError)

Contains the error value

Trait Implementations§

Source§

impl From<&StreamResult> for MZResult

Source§

fn from(res: &StreamResult) -> Self

Converts to this type from the input type.
Source§

impl From<StreamResult> for MZResult

Source§

fn from(res: StreamResult) -> Self

Converts to this type from the input type.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.