Enum miniz_oxide::MZStatus
source · [−]#[repr(i32)]
pub enum MZStatus {
Ok,
StreamEnd,
NeedDict,
}
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
Operation succeeded.
Some data was decompressed or compressed; see the byte counters in the StreamResult
for
details.
StreamEnd
Operation succeeded and end of deflate stream was found.
X-ref TINFLStatus::Done
or
TDEFLStatus::Done
for inflate
or deflate
respectively.
NeedDict
Unused
Trait Implementations
impl Copy for MZStatus
impl Eq for MZStatus
impl StructuralEq for MZStatus
impl StructuralPartialEq for MZStatus
Auto Trait Implementations
impl RefUnwindSafe for MZStatus
impl Send for MZStatus
impl Sync for MZStatus
impl Unpin for MZStatus
impl UnwindSafe for MZStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more