#[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§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes
Size for each variant:
Ok: 0 bytesStreamEnd: 0 bytesNeedDict: 0 bytes