pub enum RingOutcome {
Replied {
from: String,
body: String,
},
TimedOut,
Queued,
Delivered,
NoPerch,
Empty,
}Expand description
Outcome of a ring.
Variants§
Replied
Target replied within the timeout; carries the structural (from, body)
reply (the caller composes the <EVENT> envelope at its edge).
TimedOut
Delivered live but no reply arrived before the timeout.
Queued
Target offline — message spooled, not awaited.
Delivered
Delivered to the ringer’s existing live listener; the reply will surface there, so this call does not block-wait (avoids racing it).
NoPerch
No perch for the target at all.
Empty
Refused: empty body.
Trait Implementations§
Source§impl Clone for RingOutcome
impl Clone for RingOutcome
Source§fn clone(&self) -> RingOutcome
fn clone(&self) -> RingOutcome
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 Debug for RingOutcome
impl Debug for RingOutcome
Source§impl PartialEq for RingOutcome
impl PartialEq for RingOutcome
impl Eq for RingOutcome
impl StructuralPartialEq for RingOutcome
Auto Trait Implementations§
impl Freeze for RingOutcome
impl RefUnwindSafe for RingOutcome
impl Send for RingOutcome
impl Sync for RingOutcome
impl Unpin for RingOutcome
impl UnwindSafe for RingOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.