pub enum CdcOp {
Set,
Del,
Expire,
HSet,
LPush,
RPush,
SAdd,
FlushDb,
}Expand description
Discriminant for the kind of mutation recorded in a CdcEvent.
Variants§
Set
A string key was created or overwritten.
Del
A key was explicitly deleted.
Expire
A key was removed by TTL expiration.
HSet
A field was set inside a hash.
LPush
A value was pushed to the head of a list.
RPush
A value was pushed to the tail of a list.
SAdd
A member was added to a set.
FlushDb
The entire database was flushed.
Trait Implementations§
impl Eq for CdcOp
impl StructuralPartialEq for CdcOp
Auto Trait Implementations§
impl Freeze for CdcOp
impl RefUnwindSafe for CdcOp
impl Send for CdcOp
impl Sync for CdcOp
impl Unpin for CdcOp
impl UnsafeUnpin for CdcOp
impl UnwindSafe for CdcOp
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