pub struct TableCompareExchange {
pub exchanged: bool,
pub observed: TableObserved,
}Expand description
Result of an atomic table compare-exchange.
Fields§
§exchanged: boolWhether the replacement was applied.
observed: TableObservedState observed before any successful replacement.
Trait Implementations§
Source§impl Clone for TableCompareExchange
impl Clone for TableCompareExchange
Source§fn clone(&self) -> TableCompareExchange
fn clone(&self) -> TableCompareExchange
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 TableCompareExchange
impl Debug for TableCompareExchange
Source§impl PartialEq for TableCompareExchange
impl PartialEq for TableCompareExchange
impl StructuralPartialEq for TableCompareExchange
Auto Trait Implementations§
impl Freeze for TableCompareExchange
impl RefUnwindSafe for TableCompareExchange
impl Send for TableCompareExchange
impl Sync for TableCompareExchange
impl Unpin for TableCompareExchange
impl UnsafeUnpin for TableCompareExchange
impl UnwindSafe for TableCompareExchange
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