pub enum KeptRecord {
Change(KeptChange),
Execution {
row: RowId,
steps: u32,
},
}Expand description
One row’s record of an accepted write part, as a device keeps it once the write is judged (D7.3): what later writes are judged against and what reopens the part’s leaves, without the values it replaced, the sources it built on or its SQL operations.
Variants§
Change(KeptChange)
A net change.
Execution
Operations with no net change: only their count, the leaves they take.
Implementations§
Source§impl KeptRecord
impl KeptRecord
Sourcepub fn keep(
record: PartRecord<'_>,
reference: impl Fn(&str) -> bool,
) -> Result<Self, Error>
pub fn keep( record: PartRecord<'_>, reference: impl Fn(&str) -> bool, ) -> Result<Self, Error>
The kept record of record, whose reference says which of its
columns were references under its write’s schema.
Trait Implementations§
Source§impl Clone for KeptRecord
impl Clone for KeptRecord
Source§fn clone(&self) -> KeptRecord
fn clone(&self) -> KeptRecord
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 Debug for KeptRecord
impl Debug for KeptRecord
Source§impl PartialEq for KeptRecord
impl PartialEq for KeptRecord
impl Eq for KeptRecord
impl StructuralPartialEq for KeptRecord
Auto Trait Implementations§
impl Freeze for KeptRecord
impl RefUnwindSafe for KeptRecord
impl Send for KeptRecord
impl Sync for KeptRecord
impl Unpin for KeptRecord
impl UnsafeUnpin for KeptRecord
impl UnwindSafe for KeptRecord
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