pub enum AcknowledgementInput<K, P> {
Acknowledge {
key: K,
participant: P,
},
Cancel {
key: K,
},
}Expand description
Exact operation submitted to an already terminal or unknown lifecycle.
Variants§
Acknowledge
One participant attempted to acknowledge.
Cancel
The lifecycle was asked to cancel.
Fields
§
key: KTrait Implementations§
Source§impl<K: Clone, P: Clone> Clone for AcknowledgementInput<K, P>
impl<K: Clone, P: Clone> Clone for AcknowledgementInput<K, P>
Source§fn clone(&self) -> AcknowledgementInput<K, P>
fn clone(&self) -> AcknowledgementInput<K, 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 moreimpl<K: Eq, P: Eq> Eq for AcknowledgementInput<K, P>
impl<K, P> StructuralPartialEq for AcknowledgementInput<K, P>
Auto Trait Implementations§
impl<K, P> Freeze for AcknowledgementInput<K, P>
impl<K, P> RefUnwindSafe for AcknowledgementInput<K, P>where
K: RefUnwindSafe,
P: RefUnwindSafe,
impl<K, P> Send for AcknowledgementInput<K, P>
impl<K, P> Sync for AcknowledgementInput<K, P>
impl<K, P> Unpin for AcknowledgementInput<K, P>
impl<K, P> UnsafeUnpin for AcknowledgementInput<K, P>where
K: UnsafeUnpin,
P: UnsafeUnpin,
impl<K, P> UnwindSafe for AcknowledgementInput<K, P>where
K: UnwindSafe,
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