pub struct MergeOptions {
pub domain: DomainOptions,
pub drop_deleted: bool,
pub range_from: Option<u64>,
}Expand description
Options for merge.
Fields§
§domain: DomainOptions.bt/.kvei options for the merged output.
drop_deleted: boolHonor erigon’s “empty value means deletion” rule (only triggers when the merged
range starts at step 0). Default true.
range_from: Option<u64>The merged range’s start step. If None, parsed from the output .kv filename’s
<from>-<to> segment; if that fails too, deletion-dropping is disabled (no key is
ever dropped), which is the safe choice.
Trait Implementations§
Source§impl Clone for MergeOptions
impl Clone for MergeOptions
Source§fn clone(&self) -> MergeOptions
fn clone(&self) -> MergeOptions
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 MergeOptions
Source§impl Debug for MergeOptions
impl Debug for MergeOptions
Source§impl Default for MergeOptions
impl Default for MergeOptions
Source§fn default() -> MergeOptions
fn default() -> MergeOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MergeOptions
impl RefUnwindSafe for MergeOptions
impl Send for MergeOptions
impl Sync for MergeOptions
impl Unpin for MergeOptions
impl UnsafeUnpin for MergeOptions
impl UnwindSafe for MergeOptions
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