pub struct KeyValueReadRevision(/* private fields */);Expand description
Opaque cache identity. Numeric index revisions alone do not distinguish undo branches or independent private transactions.
Implementations§
Source§impl KeyValueReadRevision
impl KeyValueReadRevision
Sourcepub fn same_private_changes(&self, other: &Self) -> bool
pub fn same_private_changes(&self, other: &Self) -> bool
Compare private changes for the same selected prefixes, independently of intervening committed writes. Unversioned or individual-record identities cannot establish this property.
Sourcepub fn has_private_changes(&self) -> bool
pub fn has_private_changes(&self) -> bool
Whether the selected record prefixes include changes private to this transaction. Unversioned view identities conservatively report private state because they cannot prove committed provenance.
Trait Implementations§
Source§impl Clone for KeyValueReadRevision
impl Clone for KeyValueReadRevision
impl Eq for KeyValueReadRevision
Auto Trait Implementations§
impl Freeze for KeyValueReadRevision
impl RefUnwindSafe for KeyValueReadRevision
impl Send for KeyValueReadRevision
impl Sync for KeyValueReadRevision
impl Unpin for KeyValueReadRevision
impl UnsafeUnpin for KeyValueReadRevision
impl UnwindSafe for KeyValueReadRevision
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