Enum libflate::zlib::FlushMode[][src]

pub enum FlushMode {
    None,
    Sync,
}

zlib library specific parameter for defining behavior when Write::flush method is called.

References

Variants

None

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

Z_SYNC_FLUSH.

Trait Implementations

impl Clone for FlushMode[src]

impl Copy for FlushMode[src]

impl Debug for FlushMode[src]

impl Default for FlushMode[src]

impl Eq for FlushMode[src]

impl Hash for FlushMode[src]

impl Ord for FlushMode[src]

impl PartialEq<FlushMode> for FlushMode[src]

impl PartialOrd<FlushMode> for FlushMode[src]

impl StructuralEq for FlushMode[src]

impl StructuralPartialEq for FlushMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.