pub enum SymbolPriority {
Low = 0,
Medium = 1,
High = 2,
Critical = 3,
}Expand description
Priority levels for symbols in cache eviction
Variants§
Trait Implementations§
Source§impl Clone for SymbolPriority
impl Clone for SymbolPriority
Source§fn clone(&self) -> SymbolPriority
fn clone(&self) -> SymbolPriority
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 SymbolPriority
impl Debug for SymbolPriority
Source§impl Hash for SymbolPriority
impl Hash for SymbolPriority
Source§impl Ord for SymbolPriority
impl Ord for SymbolPriority
Source§fn cmp(&self, other: &SymbolPriority) -> Ordering
fn cmp(&self, other: &SymbolPriority) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SymbolPriority
impl PartialEq for SymbolPriority
Source§impl PartialOrd for SymbolPriority
impl PartialOrd for SymbolPriority
impl Copy for SymbolPriority
impl Eq for SymbolPriority
impl StructuralPartialEq for SymbolPriority
Auto Trait Implementations§
impl Freeze for SymbolPriority
impl RefUnwindSafe for SymbolPriority
impl Send for SymbolPriority
impl Sync for SymbolPriority
impl Unpin for SymbolPriority
impl UnsafeUnpin for SymbolPriority
impl UnwindSafe for SymbolPriority
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.