pub enum AcknowledgementState<P> {
Pending {
remaining: Vec<P>,
acknowledged: Vec<P>,
},
Completed,
Cancelled,
}Expand description
Exhaustive lifecycle phase for one acknowledgement key.
Variants§
Pending
Some required participants have not acknowledged.
Fields
Completed
Every declared participant acknowledged.
Cancelled
The pending lifecycle was explicitly cancelled.
Trait Implementations§
Source§impl<P: Clone> Clone for AcknowledgementState<P>
impl<P: Clone> Clone for AcknowledgementState<P>
Source§fn clone(&self) -> AcknowledgementState<P>
fn clone(&self) -> AcknowledgementState<P>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<P: Debug> Debug for AcknowledgementState<P>
impl<P: Debug> Debug for AcknowledgementState<P>
Source§impl<P: PartialEq> PartialEq for AcknowledgementState<P>
impl<P: PartialEq> PartialEq for AcknowledgementState<P>
impl<P: Eq> Eq for AcknowledgementState<P>
impl<P> StructuralPartialEq for AcknowledgementState<P>
Auto Trait Implementations§
impl<P> Freeze for AcknowledgementState<P>
impl<P> RefUnwindSafe for AcknowledgementState<P>where
P: RefUnwindSafe,
impl<P> Send for AcknowledgementState<P>where
P: Send,
impl<P> Sync for AcknowledgementState<P>where
P: Sync,
impl<P> Unpin for AcknowledgementState<P>where
P: Unpin,
impl<P> UnsafeUnpin for AcknowledgementState<P>
impl<P> UnwindSafe for AcknowledgementState<P>where
P: UnwindSafe,
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