pub enum DeltaLookup {
Untouched,
Absent,
Present(OwnedRow),
}Expand description
What the delta knows about a primary key (BatchDelta::lookup_pk).
Variants§
Untouched
The batch never touched this pk — fall through to the base snapshot.
Absent
The batch removed this pk; the base row (if any) is stale. Authoritative: gone.
Present(OwnedRow)
The batch’s current derived content for this pk.
Trait Implementations§
Source§impl Clone for DeltaLookup
impl Clone for DeltaLookup
Source§fn clone(&self) -> DeltaLookup
fn clone(&self) -> DeltaLookup
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 moreAuto Trait Implementations§
impl Freeze for DeltaLookup
impl RefUnwindSafe for DeltaLookup
impl Send for DeltaLookup
impl Sync for DeltaLookup
impl Unpin for DeltaLookup
impl UnsafeUnpin for DeltaLookup
impl UnwindSafe for DeltaLookup
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