pub enum SendOutcome {
Scheduled {
seq: u64,
deliver_at: Micros,
duplicated: bool,
reordered: bool,
},
Dropped {
seq: u64,
reason: DropReason,
},
}Expand description
The result of Network::send.
Variants§
Scheduled
The message (and possibly a duplicate) entered the flight queue.
Fields
Dropped
The message was dropped at send time.
Fields
§
reason: DropReasonWhy it was dropped.
Trait Implementations§
Source§impl Clone for SendOutcome
impl Clone for SendOutcome
Source§fn clone(&self) -> SendOutcome
fn clone(&self) -> SendOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SendOutcome
Source§impl Debug for SendOutcome
impl Debug for SendOutcome
impl Eq for SendOutcome
Source§impl PartialEq for SendOutcome
impl PartialEq for SendOutcome
impl StructuralPartialEq for SendOutcome
Auto Trait Implementations§
impl Freeze for SendOutcome
impl RefUnwindSafe for SendOutcome
impl Send for SendOutcome
impl Sync for SendOutcome
impl Unpin for SendOutcome
impl UnsafeUnpin for SendOutcome
impl UnwindSafe for SendOutcome
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