pub enum CompareExpected {
Absent,
Value(Expr),
}Expand description
Expected wire state for compare-exchange.
Variants§
Absent
The key must be absent.
Value(Expr)
The key must contain this expression (including Expr::Nil).
Trait Implementations§
Source§impl Clone for CompareExpected
impl Clone for CompareExpected
Source§fn clone(&self) -> CompareExpected
fn clone(&self) -> CompareExpected
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 moreSource§impl Debug for CompareExpected
impl Debug for CompareExpected
Source§impl PartialEq for CompareExpected
impl PartialEq for CompareExpected
impl StructuralPartialEq for CompareExpected
Auto Trait Implementations§
impl Freeze for CompareExpected
impl RefUnwindSafe for CompareExpected
impl Send for CompareExpected
impl Sync for CompareExpected
impl Unpin for CompareExpected
impl UnsafeUnpin for CompareExpected
impl UnwindSafe for CompareExpected
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