pub enum KeyspaceEvent {
New,
Expired,
Evicted,
}Expand description
One captured store-origin event kind. The serving layer maps these
to the Redis event names (new / expired / evicted).
Variants§
New
A key was added to the keyspace.
Expired
A TTL’d key was removed because its deadline passed.
Evicted
A key was removed by maxmemory eviction.
Trait Implementations§
Source§impl Clone for KeyspaceEvent
impl Clone for KeyspaceEvent
Source§fn clone(&self) -> KeyspaceEvent
fn clone(&self) -> KeyspaceEvent
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 KeyspaceEvent
Source§impl Debug for KeyspaceEvent
impl Debug for KeyspaceEvent
impl Eq for KeyspaceEvent
Source§impl PartialEq for KeyspaceEvent
impl PartialEq for KeyspaceEvent
impl StructuralPartialEq for KeyspaceEvent
Auto Trait Implementations§
impl Freeze for KeyspaceEvent
impl RefUnwindSafe for KeyspaceEvent
impl Send for KeyspaceEvent
impl Sync for KeyspaceEvent
impl Unpin for KeyspaceEvent
impl UnsafeUnpin for KeyspaceEvent
impl UnwindSafe for KeyspaceEvent
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