pub enum RetainDecision {
Keep,
SetHorizon(i64),
Delete,
}Expand description
What to do with a record during the rewrite pass.
Variants§
Keep
Keep the record as-is.
SetHorizon(i64)
Keep the record, but stamp its batch with this delete horizon:
base_timestamp = horizon, with bit 6 set.
Delete
Drop the record.
Trait Implementations§
Source§impl Clone for RetainDecision
impl Clone for RetainDecision
Source§fn clone(&self) -> RetainDecision
fn clone(&self) -> RetainDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RetainDecision
Source§impl Debug for RetainDecision
impl Debug for RetainDecision
impl Eq for RetainDecision
Source§impl PartialEq for RetainDecision
impl PartialEq for RetainDecision
impl StructuralPartialEq for RetainDecision
Auto Trait Implementations§
impl Freeze for RetainDecision
impl RefUnwindSafe for RetainDecision
impl Send for RetainDecision
impl Sync for RetainDecision
impl Unpin for RetainDecision
impl UnsafeUnpin for RetainDecision
impl UnwindSafe for RetainDecision
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