pub enum CacheEvent {
AtomicAdd(String, i32),
KeyDelete(String),
ScalarSet(String, String),
ListClear(String),
ListPush(String, String),
ListRemoveItem(String, String),
SetAdd(String, String),
SetRemoveItem(String, String),
}Expand description
Indicates an event that has occurred on a distributed cache. In all of the variants of this event, the first parameter is always the key
Variants§
AtomicAdd(String, i32)
KeyDelete(String)
ScalarSet(String, String)
ListClear(String)
ListPush(String, String)
ListRemoveItem(String, String)
SetAdd(String, String)
SetRemoveItem(String, String)
Trait Implementations§
Source§impl Clone for CacheEvent
impl Clone for CacheEvent
Source§fn clone(&self) -> CacheEvent
fn clone(&self) -> CacheEvent
Returns a copy 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 CacheEvent
impl Debug for CacheEvent
Source§impl<'de> Deserialize<'de> for CacheEvent
impl<'de> Deserialize<'de> for CacheEvent
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 Event for CacheEvent
impl Event for CacheEvent
fn event_type_version(&self) -> &str
fn event_source(&self) -> &str
fn event_type(&self) -> &str
Auto Trait Implementations§
impl Freeze for CacheEvent
impl RefUnwindSafe for CacheEvent
impl Send for CacheEvent
impl Sync for CacheEvent
impl Unpin for CacheEvent
impl UnwindSafe for CacheEvent
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)