pub enum AcknowledgementMessage<K, P, Route> {
Begin {
key: K,
participants: Vec<P>,
reply_to: Route,
},
Acknowledge {
key: K,
participant: P,
reply_to: Route,
},
Cancel {
key: K,
reply_to: Route,
},
}Expand description
Operations accepted by Acknowledgements.
Variants§
Begin
Establish a fresh acknowledgement lifecycle.
Acknowledge
Record one participant acknowledgement.
Fields
§
key: KCorrelation key.
§
participant: PParticipant making the acknowledgement.
§
reply_to: RouteTyped outcome recipient.
Cancel
Cancel a pending lifecycle.
Auto Trait Implementations§
impl<K, P, Route> Freeze for AcknowledgementMessage<K, P, Route>
impl<K, P, Route> RefUnwindSafe for AcknowledgementMessage<K, P, Route>
impl<K, P, Route> Send for AcknowledgementMessage<K, P, Route>
impl<K, P, Route> Sync for AcknowledgementMessage<K, P, Route>
impl<K, P, Route> Unpin for AcknowledgementMessage<K, P, Route>
impl<K, P, Route> UnsafeUnpin for AcknowledgementMessage<K, P, Route>
impl<K, P, Route> UnwindSafe for AcknowledgementMessage<K, P, Route>
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