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§
source§impl Clone for TDEFLFlush
impl Clone for TDEFLFlush
source§fn clone(&self) -> TDEFLFlush
fn clone(&self) -> TDEFLFlush
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TDEFLFlush
impl Debug for TDEFLFlush
source§impl From<MZFlush> for TDEFLFlush
impl From<MZFlush> for TDEFLFlush
source§impl Hash for TDEFLFlush
impl Hash for TDEFLFlush
source§impl PartialEq<TDEFLFlush> for TDEFLFlush
impl PartialEq<TDEFLFlush> for TDEFLFlush
source§fn eq(&self, other: &TDEFLFlush) -> bool
fn eq(&self, other: &TDEFLFlush) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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