pub enum TDEFLFlush {
None = 0,
Sync = 2,
Full = 3,
Finish = 4,
}
Expand description
A list of deflate flush types.
Variants§
None = 0
Normal operation.
Compress as much as there is space for, and then return waiting for more input.
Sync = 2
Try to flush all the current data and output an empty raw block.
Full = 3
Same as Sync
, but reset the dictionary so that the following data does not
depend on previous data.
Finish = 4
Try to flush everything and end the deflate stream.
On success this will yield a TDEFLStatus::Done
return status.
Implementations§
source§impl TDEFLFlush
impl TDEFLFlush
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§fn from(flush: MZFlush) -> TDEFLFlush
fn from(flush: MZFlush) -> TDEFLFlush
Converts to this type from the input type.
source§impl Hash for TDEFLFlush
impl Hash for TDEFLFlush
source§impl PartialEq for TDEFLFlush
impl PartialEq 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 StructuralPartialEq for TDEFLFlush
Auto Trait Implementations§
impl Freeze for TDEFLFlush
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