pub struct RecoveryInputSetRevision(/* private fields */);Expand description
Store-owned monotonic revision of one logical runtime’s input-row set.
The value is opaque to recovery callers. A store mints it from its own transactionally maintained generation and MUST advance that generation for every insert, update, or delete of an input row for the runtime. Revision zero is the canonical generation for a runtime that has never owned an input row; it is still a real absence fence.
Implementations§
Source§impl RecoveryInputSetRevision
impl RecoveryInputSetRevision
Sourcepub fn from_store_generation(generation: u64) -> Self
pub fn from_store_generation(generation: u64) -> Self
Mint a revision from a store-owned monotonic generation.
Sourcepub fn store_generation(self) -> u64
pub fn store_generation(self) -> u64
Return the opaque generation for an exact store-side comparison.
Trait Implementations§
Source§impl Clone for RecoveryInputSetRevision
impl Clone for RecoveryInputSetRevision
Source§fn clone(&self) -> RecoveryInputSetRevision
fn clone(&self) -> RecoveryInputSetRevision
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 moreimpl Copy for RecoveryInputSetRevision
Source§impl Debug for RecoveryInputSetRevision
impl Debug for RecoveryInputSetRevision
impl Eq for RecoveryInputSetRevision
Source§impl Hash for RecoveryInputSetRevision
impl Hash for RecoveryInputSetRevision
Source§impl PartialEq for RecoveryInputSetRevision
impl PartialEq for RecoveryInputSetRevision
impl StructuralPartialEq for RecoveryInputSetRevision
Auto Trait Implementations§
impl Freeze for RecoveryInputSetRevision
impl RefUnwindSafe for RecoveryInputSetRevision
impl Send for RecoveryInputSetRevision
impl Sync for RecoveryInputSetRevision
impl Unpin for RecoveryInputSetRevision
impl UnsafeUnpin for RecoveryInputSetRevision
impl UnwindSafe for RecoveryInputSetRevision
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<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.