pub struct KeyGcOptions {
pub max_versions_examined: usize,
pub collapse_final_tombstones: bool,
}Expand description
Options for a read-only, single-key garbage-collection plan.
Fields§
§max_versions_examined: usizeMaximum number of obsolete, pre-keeper version timestamps to examine.
The planner also performs a fixed number of bounded point lookups to locate the safe-point keeper and determine whether it is the latest committed version. Those point lookups do not consume this history-page budget.
collapse_final_tombstones: boolExplicit opt-in retention policy for final tombstones.
Callers using this opt-in feature MUST ensure that the safe point is
derived from a monotonic log index and that no future read or write will
occur below this safe point, as collapsing final tombstones changes
read_with_version and guard history semantics below the safe point.
Trait Implementations§
Source§impl Clone for KeyGcOptions
impl Clone for KeyGcOptions
Source§fn clone(&self) -> KeyGcOptions
fn clone(&self) -> KeyGcOptions
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 KeyGcOptions
Source§impl Debug for KeyGcOptions
impl Debug for KeyGcOptions
impl Eq for KeyGcOptions
Source§impl PartialEq for KeyGcOptions
impl PartialEq for KeyGcOptions
impl StructuralPartialEq for KeyGcOptions
Auto Trait Implementations§
impl Freeze for KeyGcOptions
impl RefUnwindSafe for KeyGcOptions
impl Send for KeyGcOptions
impl Sync for KeyGcOptions
impl Unpin for KeyGcOptions
impl UnsafeUnpin for KeyGcOptions
impl UnwindSafe for KeyGcOptions
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