pub enum EndOp {
Continue,
Flush,
End,
}Expand description
What PushEncoder::encode should do once it has consumed the input.
Variants§
Continue
Keep buffering; emit blocks only as they fill.
Flush
End the current block so everything consumed so far can be decoded.
End
End the frame: last block and content checksum.
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