pub enum EndOp {
Continue,
Flush,
End,
}Expand description
What StreamEncoder::compress does after taking the input (libzstd’s
ZSTD_EndDirective).
Variants§
Continue
ZSTD_e_continue: compress whole blocks as they fill up; keep the
rest buffered.
Flush
ZSTD_e_flush: also compress what is buffered (as a block that
does not end the frame) and write it out. Flushing often costs
compression ratio.
End
ZSTD_e_end: compress everything and end the frame. The next call
starts a new frame.
Trait Implementations§
impl Copy for EndOp
impl Eq for EndOp
impl StructuralPartialEq for EndOp
Auto Trait Implementations§
impl Forget for EndOp
impl Freeze for EndOp
impl Move for EndOp
impl RefUnwindSafe for EndOp
impl Send for EndOp
impl Sync for EndOp
impl Unpin for EndOp
impl UnsafeUnpin for EndOp
impl UnwindSafe for EndOp
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