Type Alias miniz_oxide::MZResult

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

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

Aliased Type§

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.