pub enum MockerEvictionBackend {
Lru,
MultiLru,
Lineage,
}Expand description
Eviction strategy for the kvbm-logical inactive pool.
Lineage is the default and matches kvbm-logical’s own default — it evicts
leaf blocks first, which subsumes the preemption-priority behaviour that the
mocker’s old LRUEvictor::push_front provided.
Variants§
Trait Implementations§
Source§impl Clone for MockerEvictionBackend
impl Clone for MockerEvictionBackend
Source§fn clone(&self) -> MockerEvictionBackend
fn clone(&self) -> MockerEvictionBackend
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 MockerEvictionBackend
Source§impl Debug for MockerEvictionBackend
impl Debug for MockerEvictionBackend
Source§impl Default for MockerEvictionBackend
impl Default for MockerEvictionBackend
Source§fn default() -> MockerEvictionBackend
fn default() -> MockerEvictionBackend
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MockerEvictionBackend
impl<'de> Deserialize<'de> for MockerEvictionBackend
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MockerEvictionBackend
impl RefUnwindSafe for MockerEvictionBackend
impl Send for MockerEvictionBackend
impl Sync for MockerEvictionBackend
impl Unpin for MockerEvictionBackend
impl UnsafeUnpin for MockerEvictionBackend
impl UnwindSafe for MockerEvictionBackend
Blanket Implementations§
impl<T> BlockMetadata for T
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