Enum miniz_oxide::MZFlush [−][src]
#[repr(i32)]
pub enum MZFlush {
None,
Partial,
Sync,
Full,
Finish,
Block,
}
Expand description
A list of flush types.
See [http://www.bolet.org/~pornin/deflate-flush.html] for more in-depth info.
Variants
None
Don’t force any flushing. Used when more input data is expected.
Partial
Zlib partial flush.
Currently treated as Sync
.
Sync
Finish compressing the currently buffered data, and output an empty raw block. Has no use in decompression.
Full
Same as Sync
, but resets the compression dictionary so that further compressed
data does not depend on data compressed before the flush.
Has no use in decompression.
Finish
Attempt to flush the remaining data and end the stream.
Block
Not implemented.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MZFlush
impl UnwindSafe for MZFlush
Blanket Implementations
Mutably borrows from an owned value. Read more