pub enum Action {
Run = 0,
Flush = 1,
Finish = 2,
}
Expand description
Possible actions to take on compression.
Variants§
Run = 0
Normal compression.
Flush = 1
Flush any existing output, but do not read any more input
Finish = 2
Request that the compression stream be finalized.
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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