pub enum LostChange<V> {
Put(LostKey, LostValue<V>),
Remove(LostKey),
}Expand description
A change to the row’s lost-value records, to commit with its merged state.
Variants§
Put(LostKey, LostValue<V>)
Create or replace a lost-value record.
Remove(LostKey)
A replacing write had read the value, so it is no longer lost.
Trait Implementations§
Source§impl<V: Clone> Clone for LostChange<V>
impl<V: Clone> Clone for LostChange<V>
Source§fn clone(&self) -> LostChange<V>
fn clone(&self) -> LostChange<V>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<V: Debug> Debug for LostChange<V>
impl<V: Debug> Debug for LostChange<V>
Source§impl<V: PartialEq> PartialEq for LostChange<V>
impl<V: PartialEq> PartialEq for LostChange<V>
impl<V: Eq> Eq for LostChange<V>
impl<V> StructuralPartialEq for LostChange<V>
Auto Trait Implementations§
impl<V> Freeze for LostChange<V>where
V: Freeze,
impl<V> RefUnwindSafe for LostChange<V>where
V: RefUnwindSafe,
impl<V> Send for LostChange<V>where
V: Send,
impl<V> Sync for LostChange<V>where
V: Sync,
impl<V> Unpin for LostChange<V>where
V: Unpin,
impl<V> UnsafeUnpin for LostChange<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for LostChange<V>where
V: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more