pub struct AllCommitted;Expand description
An oracle that reports every version as committed. Equivalent to
the pre-Phase-C.2 two-state world; lets a caller that does not yet
track aborts reuse Snapshot::visible_with_status and get
behaviour identical to Snapshot::visible.
Trait Implementations§
Source§impl Clone for AllCommitted
impl Clone for AllCommitted
Source§fn clone(&self) -> AllCommitted
fn clone(&self) -> AllCommitted
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 AllCommitted
Source§impl Debug for AllCommitted
impl Debug for AllCommitted
Source§impl Default for AllCommitted
impl Default for AllCommitted
Source§fn default() -> AllCommitted
fn default() -> AllCommitted
Returns the “default value” for a type. Read more
Source§impl XactStatusOracle for AllCommitted
impl XactStatusOracle for AllCommitted
Source§fn status(&self, _version: u64) -> XactStatus
fn status(&self, _version: u64) -> XactStatus
Terminal status of
version. Implementations return
XactStatus::Committed for any version they no longer track
(pruned below oldest_active, or frozen) — those are, by
definition, committed-and-old.Auto Trait Implementations§
impl Freeze for AllCommitted
impl RefUnwindSafe for AllCommitted
impl Send for AllCommitted
impl Sync for AllCommitted
impl Unpin for AllCommitted
impl UnsafeUnpin for AllCommitted
impl UnwindSafe for AllCommitted
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