pub enum Operand<'a> {
Zset(&'a Zset),
Set(&'a Set),
Missing,
}Expand description
One input to a sorted set operation.
A plain set is an operand because Redis says it is, and it behaves as a sorted set in which every member scores one.
Variants§
Zset(&'a Zset)
A sorted set, with the scores it holds.
Set(&'a Set)
A plain set, where every member scores one.
Missing
A key that is not there, which is an empty input and not an error.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Operand<'a>
impl<'a> RefUnwindSafe for Operand<'a>
impl<'a> Send for Operand<'a>
impl<'a> Sync for Operand<'a>
impl<'a> Unpin for Operand<'a>
impl<'a> UnsafeUnpin for Operand<'a>
impl<'a> UnwindSafe for Operand<'a>
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