#[non_exhaustive]pub struct TopicDrops {
pub topic: Arc<str>,
pub subscriber_budget: u64,
pub subscriber_queue: u64,
pub no_parked_connection: u64,
pub superseded: u64,
pub expired: u64,
pub too_large: u64,
pub no_datagrams: u64,
pub layers_cut: u64,
}Expand description
What a publisher dropped on one topic, by cause.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.topic: Arc<str>The topic the dropped copies were published on.
subscriber_budget: u64Copies dropped for an exhausted subscriber byte budget.
subscriber_queue: u64Copies dropped for a full subscriber queue.
no_parked_connection: u64Copies dropped because the subscriber had parked no connection.
superseded: u64RADIO copies reset because a newer segment opened on the topic.
expired: u64RADIO copies reset because the dish’s max_age passed.
too_large: u64RADIO datagram segments larger than the dish’s connection carries.
no_datagrams: u64RADIO datagram segments for a dish that carries no datagrams.
layers_cut: u64Segment copies that lost layers above 0 and kept layer 0; at most one per copy and segment (decisions/0037 §4.3). A copy that later loses layer 0 too counts here and under that loss’s cause.
Implementations§
Trait Implementations§
Source§impl Clone for TopicDrops
impl Clone for TopicDrops
Source§impl Debug for TopicDrops
impl Debug for TopicDrops
impl Eq for TopicDrops
Source§impl PartialEq for TopicDrops
impl PartialEq for TopicDrops
impl StructuralPartialEq for TopicDrops
Auto Trait Implementations§
impl Forget for TopicDrops
impl Freeze for TopicDrops
impl Move for TopicDrops
impl RefUnwindSafe for TopicDrops
impl Send for TopicDrops
impl Sync for TopicDrops
impl Unpin for TopicDrops
impl UnsafeUnpin for TopicDrops
impl UnwindSafe for TopicDrops
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