pub enum AckOutcome {
Accepted {
handle: MessageHandle,
latency: Duration,
},
Refused {
handle: MessageHandle,
status: ReceptionStatusValues,
diagnostic: Option<String>,
consequence: Consequence,
latency: Duration,
},
TimedOut(MessageHandle),
Unmatched {
subject: Id,
status: ReceptionStatusValues,
},
}Expand description
What happened to a message that was waiting for an acknowledgement.
Variants§
Accepted
The peer accepted it.
Refused
The peer refused it.
Fields
§
handle: MessageHandleWhat was sent.
§
status: ReceptionStatusValuesHow it was refused.
§
consequence: ConsequenceWhat the standard says to do about it.
TimedOut(MessageHandle)
Nothing came back in time.
Unmatched
An acknowledgement arrived for something we never sent, or had given up on.
Trait Implementations§
Source§impl Clone for AckOutcome
impl Clone for AckOutcome
Source§impl Debug for AckOutcome
impl Debug for AckOutcome
impl Eq for AckOutcome
Source§impl PartialEq for AckOutcome
impl PartialEq for AckOutcome
impl StructuralPartialEq for AckOutcome
Auto Trait Implementations§
impl Forget for AckOutcome
impl Freeze for AckOutcome
impl Move for AckOutcome
impl RefUnwindSafe for AckOutcome
impl Send for AckOutcome
impl Sync for AckOutcome
impl Unpin for AckOutcome
impl UnsafeUnpin for AckOutcome
impl UnwindSafe for AckOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.