pub enum DistributedCommitPhase {
DecisionSubmission,
DecisionCompletion,
DecisionObservation,
}Expand description
Final decision cut reached by a distributed commit attempt.
Variants§
DecisionSubmission
The rank could not submit its final decision contribution.
DecisionCompletion
The submitted final decision did not complete within its exact contract.
DecisionObservation
The rank observed the globally fixed decision.
Trait Implementations§
Source§impl Clone for DistributedCommitPhase
impl Clone for DistributedCommitPhase
Source§fn clone(&self) -> DistributedCommitPhase
fn clone(&self) -> DistributedCommitPhase
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 DistributedCommitPhase
Source§impl Debug for DistributedCommitPhase
impl Debug for DistributedCommitPhase
Source§impl<'de> Deserialize<'de> for DistributedCommitPhase
impl<'de> Deserialize<'de> for DistributedCommitPhase
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 DistributedCommitPhase
Source§impl Hash for DistributedCommitPhase
impl Hash for DistributedCommitPhase
Source§impl Ord for DistributedCommitPhase
impl Ord for DistributedCommitPhase
Source§fn cmp(&self, other: &DistributedCommitPhase) -> Ordering
fn cmp(&self, other: &DistributedCommitPhase) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DistributedCommitPhase
impl PartialEq for DistributedCommitPhase
Source§impl PartialOrd for DistributedCommitPhase
impl PartialOrd for DistributedCommitPhase
Source§impl Serialize for DistributedCommitPhase
impl Serialize for DistributedCommitPhase
impl StructuralPartialEq for DistributedCommitPhase
Auto Trait Implementations§
impl Freeze for DistributedCommitPhase
impl RefUnwindSafe for DistributedCommitPhase
impl Send for DistributedCommitPhase
impl Sync for DistributedCommitPhase
impl Unpin for DistributedCommitPhase
impl UnsafeUnpin for DistributedCommitPhase
impl UnwindSafe for DistributedCommitPhase
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