Enum redis::ExistenceCheck
source · pub enum ExistenceCheck {
NX,
XX,
}
Expand description
Helper enum that is used to define existence checks
Variants§
NX
NX – Only set the key if it does not already exist.
XX
XX – Only set the key if it already exists.
Auto Trait Implementations§
impl RefUnwindSafe for ExistenceCheck
impl Send for ExistenceCheck
impl Sync for ExistenceCheck
impl Unpin for ExistenceCheck
impl UnwindSafe for ExistenceCheck
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