pub enum FlushMode {
None = 0,
Sync = 2,
}
Expand description
Variants§
None = 0
Z_NO_FLUSH
(default).
Note that when this parameter is specified,
no zlib
specific processing will not be executed but ordinal DEFLATE layer flushing will be performed.
Sync = 2
Z_SYNC_FLUSH
.
Trait Implementations§
source§impl Ord for FlushMode
impl Ord for FlushMode
source§impl PartialEq for FlushMode
impl PartialEq for FlushMode
source§impl PartialOrd for FlushMode
impl PartialOrd for FlushMode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FlushMode
impl Eq for FlushMode
impl StructuralPartialEq for FlushMode
Auto Trait Implementations§
impl Freeze for FlushMode
impl RefUnwindSafe for FlushMode
impl Send for FlushMode
impl Sync for FlushMode
impl Unpin for FlushMode
impl UnwindSafe for FlushMode
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