miniz_oxide

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§

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.