pub enum MemoryEviction {
Fifo,
Lru,
}Expand description
Retention order for this controller’s bounded process-memory cache.
Variants§
Fifo
Evict the oldest inserted key; the existing default.
Lru
Promote successful memory lookups and replace the least recently used key.
Trait Implementations§
Source§impl Clone for MemoryEviction
impl Clone for MemoryEviction
Source§fn clone(&self) -> MemoryEviction
fn clone(&self) -> MemoryEviction
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 MemoryEviction
Source§impl Debug for MemoryEviction
impl Debug for MemoryEviction
impl Eq for MemoryEviction
Source§impl PartialEq for MemoryEviction
impl PartialEq for MemoryEviction
impl StructuralPartialEq for MemoryEviction
Auto Trait Implementations§
impl Freeze for MemoryEviction
impl RefUnwindSafe for MemoryEviction
impl Send for MemoryEviction
impl Sync for MemoryEviction
impl Unpin for MemoryEviction
impl UnsafeUnpin for MemoryEviction
impl UnwindSafe for MemoryEviction
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.