pub enum CommitPhase {
Pending,
Admitted,
Ready,
Retryable,
RecoveryPending,
Committed,
Rejected,
}Expand description
Concrete phase of the bounded governed-commit assembly.
Variants§
Pending
Request has not yet been admitted.
Admitted
Capacity and registry admission have committed.
Ready
Propagation has prepared the request for its external effect.
Retryable
A pre-effect failure permits another bounded attempt.
RecoveryPending
An applied effect is waiting for durable recovery evidence.
Committed
Effect and durable evidence have both committed.
Rejected
The request cannot make another admitted attempt.
Trait Implementations§
Source§impl Clone for CommitPhase
impl Clone for CommitPhase
Source§fn clone(&self) -> CommitPhase
fn clone(&self) -> CommitPhase
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 CommitPhase
Source§impl Debug for CommitPhase
impl Debug for CommitPhase
impl Eq for CommitPhase
Source§impl PartialEq for CommitPhase
impl PartialEq for CommitPhase
impl StructuralPartialEq for CommitPhase
Auto Trait Implementations§
impl Freeze for CommitPhase
impl RefUnwindSafe for CommitPhase
impl Send for CommitPhase
impl Sync for CommitPhase
impl Unpin for CommitPhase
impl UnsafeUnpin for CommitPhase
impl UnwindSafe for CommitPhase
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