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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more