#[repr(i32)]pub enum MZStatus {
Ok = 0,
StreamEnd = 1,
NeedDict = 2,
}
Expand description
A list of miniz successful status codes.
These are emitted as the Ok
side of a MZResult
in the StreamResult
returned from
deflate::stream::deflate()
or inflate::stream::inflate()
.
Variants§
Ok = 0
Operation succeeded.
Some data was decompressed or compressed; see the byte counters in the StreamResult
for
details.
StreamEnd = 1
Operation succeeded and end of deflate stream was found.
X-ref TINFLStatus::Done
or
TDEFLStatus::Done
for inflate
or deflate
respectively.
NeedDict = 2
Unused
Trait Implementations§
source§impl PartialEq for MZStatus
impl PartialEq for MZStatus
impl Copy for MZStatus
impl Eq for MZStatus
impl StructuralPartialEq for MZStatus
Auto Trait Implementations§
impl Freeze for MZStatus
impl RefUnwindSafe for MZStatus
impl Send for MZStatus
impl Sync for MZStatus
impl Unpin for MZStatus
impl UnwindSafe for MZStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more