pub enum Gate {
Always,
IfMissing,
IfPresent,
}Expand description
Which members a ZADD is allowed to touch.
Variants§
Always
Add and update both. Plain ZADD.
IfMissing
Only add members that are not there. ZADD NX.
IfPresent
Only update members that are there. ZADD XX.
Trait Implementations§
impl Copy for Gate
impl Eq for Gate
impl StructuralPartialEq for Gate
Auto Trait Implementations§
impl Freeze for Gate
impl RefUnwindSafe for Gate
impl Send for Gate
impl Sync for Gate
impl Unpin for Gate
impl UnsafeUnpin for Gate
impl UnwindSafe for Gate
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