#[repr(C)]pub enum BlockBasedTablePinningTier {
Fallback = 0,
None = 1,
FlushAndSimilar = 2,
All = 3,
}
Expand description
Used by BlockBasedOptions for setting metadata cache pinning tiers. Controls how metadata blocks (index, filter, etc.) are pinned in block cache.
Variants§
Fallback = 0
Use fallback pinning tier (context-dependent)
None = 1
No pinning - blocks can be evicted at any time
FlushAndSimilar = 2
Pin blocks for flushed files and similar scenarios
All = 3
Pin all blocks (highest priority)
Auto Trait Implementations§
impl Freeze for BlockBasedTablePinningTier
impl RefUnwindSafe for BlockBasedTablePinningTier
impl Send for BlockBasedTablePinningTier
impl Sync for BlockBasedTablePinningTier
impl Unpin for BlockBasedTablePinningTier
impl UnwindSafe for BlockBasedTablePinningTier
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