Enum miniz_oxide::MZFlush [−][src]
#[repr(i32)] pub enum MZFlush { None, Partial, Sync, Full, Finish, Block, }
A list of flush types.
See [http://www.bolet.org/~pornin/deflate-flush.html] for more in-depth info.
Variants
Don’t force any flushing. Used when more input data is expected.
Zlib partial flush.
Currently treated as Sync
.
Finish compressing the currently buffered data, and output an empty raw block. Has no use in decompression.
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.
Attempt to flush the remaining data and end the stream.
Not implemented.
Implementations
impl MZFlush
[src]
impl MZFlush
[src]Trait Implementations
impl Clone for MZFlush
[src]
impl Clone for MZFlush
[src]fn clone(&self) -> MZFlush
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MZFlush
[src]
impl Eq for MZFlush
[src]
impl StructuralEq for MZFlush
[src]
impl StructuralPartialEq for MZFlush
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.