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§
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 for TDEFLFlush
impl PartialEq for TDEFLFlush
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