pub enum Outcome {
Committed(Tier),
Local,
Stale {
lag_ops: usize,
},
Unavailable(UnavailableReason),
}Expand description
The consistency a read or write actually achieved.
Variants§
Committed(Tier)
The op was committed at this tier (a strong commit, or a causal/convergent read that is up to date with what the session has observed).
Local
Written locally and offline-durable, but not yet propagated to peers.
Stale
Served from a replica that is behind the session’s frontier by lag_ops
operations — honestly stale, not silently so.
A strong op could not be served and was not committed divergently.
Implementations§
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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