Enum miniz_oxide::deflate::core::TDEFLFlush
source · [−]pub enum TDEFLFlush {
None,
Sync,
Full,
Finish,
}
Expand description
A list of deflate flush types.
Variants
None
Normal operation.
Compress as much as there is space for, and then return waiting for more input.
Sync
Try to flush all the current data and output an empty raw block.
Full
Same as Sync
, but reset the dictionary so that the following data does not
depend on previous data.
Finish
Try to flush everything and end the deflate stream.
On success this will yield a TDEFLStatus::Done
return status.
Implementations
Trait Implementations
sourceimpl Clone for TDEFLFlush
impl Clone for TDEFLFlush
sourcefn clone(&self) -> TDEFLFlush
fn clone(&self) -> TDEFLFlush
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TDEFLFlush
impl Debug for TDEFLFlush
sourceimpl From<MZFlush> for TDEFLFlush
impl From<MZFlush> for TDEFLFlush
sourceimpl Hash for TDEFLFlush
impl Hash for TDEFLFlush
sourceimpl PartialEq<TDEFLFlush> for TDEFLFlush
impl PartialEq<TDEFLFlush> for TDEFLFlush
sourcefn eq(&self, other: &TDEFLFlush) -> bool
fn eq(&self, other: &TDEFLFlush) -> bool
impl Copy for TDEFLFlush
impl Eq for TDEFLFlush
impl StructuralEq for TDEFLFlush
impl StructuralPartialEq for TDEFLFlush
Auto Trait Implementations
impl RefUnwindSafe for TDEFLFlush
impl Send for TDEFLFlush
impl Sync for TDEFLFlush
impl Unpin for TDEFLFlush
impl UnwindSafe for TDEFLFlush
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