pub struct PublishOutcome {
pub matched: usize,
pub delivered: usize,
pub dropped: usize,
}Expand description
Result of one Engine::publish fan-out.
delivered + dropped equals matched. Zero matched means no
subscriber wanted this route; that is not an error.
Fields§
§matched: usizeSubscribers selected for this route, wildcard plus exact.
delivered: usizetry_send succeeded.
dropped: usizetry_send failed (Full or Closed).
Trait Implementations§
Source§impl Clone for PublishOutcome
impl Clone for PublishOutcome
Source§fn clone(&self) -> PublishOutcome
fn clone(&self) -> PublishOutcome
Returns a copy 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 PublishOutcome
impl Debug for PublishOutcome
Source§impl PartialEq for PublishOutcome
impl PartialEq for PublishOutcome
impl Copy for PublishOutcome
impl Eq for PublishOutcome
impl StructuralPartialEq for PublishOutcome
Auto Trait Implementations§
impl Freeze for PublishOutcome
impl RefUnwindSafe for PublishOutcome
impl Send for PublishOutcome
impl Sync for PublishOutcome
impl Unpin for PublishOutcome
impl UnwindSafe for PublishOutcome
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