Enum miniz_oxide::deflate::core::TDEFLFlush[][src]

pub enum TDEFLFlush {
    None,
    Sync,
    Full,
    Finish,
}

A list of deflate flush types.

Variants

None

Compress as much as there is space for, and then return waiting for more input.

Sync

Try to flush 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 stream.

Implementations

impl TDEFLFlush[src]

pub fn new(flush: i32) -> Result<Self, MZError>[src]

Trait Implementations

impl Clone for TDEFLFlush[src]

impl Copy for TDEFLFlush[src]

impl Debug for TDEFLFlush[src]

impl Eq for TDEFLFlush[src]

impl From<MZFlush> for TDEFLFlush[src]

impl Hash for TDEFLFlush[src]

impl PartialEq<TDEFLFlush> for TDEFLFlush[src]

impl StructuralEq for TDEFLFlush[src]

impl StructuralPartialEq for TDEFLFlush[src]

Auto Trait Implementations

impl Send for TDEFLFlush

impl Sync for TDEFLFlush

impl Unpin for TDEFLFlush

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.