pub enum CoordinationStatus {
Completed,
Failed,
Cancelled,
Unreachable,
}Expand description
The settled status of a whole coordination (R0.7 wave 3). Outcome-only:
a pattern in flight has no CoordinationOutcome yet, so there is no
Open variant to drift out of sync with reality.
Variants§
Completed
The pattern produced its result (a member result, a merge, a winner, or a resolver decision).
Failed
The pattern failed: the delegate failed, a fail-fast fan-out member failed, or every race candidate failed.
Cancelled
The pattern was cancelled before it could settle.
Unreachable
Quorum only: fewer than k members can possibly complete, so the
threshold is unreachable. The threshold is never silently downgraded
— k in the journaled contract is the k that was enforced.
Trait Implementations§
Source§impl Clone for CoordinationStatus
impl Clone for CoordinationStatus
impl Copy for CoordinationStatus
Source§impl Debug for CoordinationStatus
impl Debug for CoordinationStatus
Source§impl<'de> Deserialize<'de> for CoordinationStatus
impl<'de> Deserialize<'de> for CoordinationStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CoordinationStatus
Source§impl PartialEq for CoordinationStatus
impl PartialEq for CoordinationStatus
Source§impl Serialize for CoordinationStatus
impl Serialize for CoordinationStatus
impl StructuralPartialEq for CoordinationStatus
Auto Trait Implementations§
impl Freeze for CoordinationStatus
impl RefUnwindSafe for CoordinationStatus
impl Send for CoordinationStatus
impl Sync for CoordinationStatus
impl Unpin for CoordinationStatus
impl UnsafeUnpin for CoordinationStatus
impl UnwindSafe for CoordinationStatus
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