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 more