pub enum TableExpected {
Absent,
Value(Expr),
}Expand description
Expected state supplied to an atomic table compare-exchange.
Variants§
Absent
The key must not be present (distinct from a present nil).
Value(Expr)
The key must contain a value with this canonical semantic expression.
Trait Implementations§
Source§impl Clone for TableExpected
impl Clone for TableExpected
Source§fn clone(&self) -> TableExpected
fn clone(&self) -> TableExpected
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 TableExpected
impl Debug for TableExpected
Source§impl PartialEq for TableExpected
impl PartialEq for TableExpected
impl StructuralPartialEq for TableExpected
Auto Trait Implementations§
impl Freeze for TableExpected
impl RefUnwindSafe for TableExpected
impl Send for TableExpected
impl Sync for TableExpected
impl Unpin for TableExpected
impl UnsafeUnpin for TableExpected
impl UnwindSafe for TableExpected
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