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§
Trait Implementations§
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.