pub enum EvictionReason {
TokenBudgetExceeded,
MessageCountExceeded,
StateTransition,
Manual,
}Variants§
Trait Implementations§
Source§impl Clone for EvictionReason
impl Clone for EvictionReason
Source§fn clone(&self) -> EvictionReason
fn clone(&self) -> EvictionReason
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 moreSource§impl Debug for EvictionReason
impl Debug for EvictionReason
Source§impl<'de> Deserialize<'de> for EvictionReason
impl<'de> Deserialize<'de> for EvictionReason
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
Source§impl PartialEq for EvictionReason
impl PartialEq for EvictionReason
Source§fn eq(&self, other: &EvictionReason) -> bool
fn eq(&self, other: &EvictionReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EvictionReason
impl Serialize for EvictionReason
impl StructuralPartialEq for EvictionReason
Auto Trait Implementations§
impl Freeze for EvictionReason
impl RefUnwindSafe for EvictionReason
impl Send for EvictionReason
impl Sync for EvictionReason
impl Unpin for EvictionReason
impl UnsafeUnpin for EvictionReason
impl UnwindSafe for EvictionReason
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