enum OffsetIndexSetting {
Enabled,
Disabled,
DisabledOverridden,
}Expand description
Resolved state of WriterPropertiesBuilder::set_offset_index_disabled.
When a user disables offset indexes but page-level statistics are enabled,
the setting is overridden (offset indexes remain enabled). This enum
preserves the user’s original intent so that a round-trip through
WriterPropertiesBuilder does not lose it.
Variants§
Enabled
Offset indexes are enabled (the default).
Disabled
User disabled offset indexes and no page-level statistics override it.
DisabledOverridden
User disabled offset indexes, but page-level statistics require them, so they remain enabled.
Trait Implementations§
Source§impl Clone for OffsetIndexSetting
impl Clone for OffsetIndexSetting
Source§fn clone(&self) -> OffsetIndexSetting
fn clone(&self) -> OffsetIndexSetting
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OffsetIndexSetting
impl Debug for OffsetIndexSetting
Source§impl PartialEq for OffsetIndexSetting
impl PartialEq for OffsetIndexSetting
impl Copy for OffsetIndexSetting
impl Eq for OffsetIndexSetting
impl StructuralPartialEq for OffsetIndexSetting
Auto Trait Implementations§
impl Freeze for OffsetIndexSetting
impl RefUnwindSafe for OffsetIndexSetting
impl Send for OffsetIndexSetting
impl Sync for OffsetIndexSetting
impl Unpin for OffsetIndexSetting
impl UnsafeUnpin for OffsetIndexSetting
impl UnwindSafe for OffsetIndexSetting
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.