#[non_exhaustive]pub struct DishDrops {
pub peer: Option<PeerIdentity>,
pub subscriber_budget: u64,
pub subscriber_queue: u64,
pub superseded: u64,
pub expired: u64,
pub too_large: u64,
pub no_datagrams: u64,
pub layers_cut: u64,
}Expand description
What a radio dropped toward one joined dish connection, summed over topics (decisions/0037 §4.6).
One record per joined dish connection, removed when that connection
closes, so crate::Radio::dish_drops holds at most max_connections.
A copy that found no parked connection is counted per topic only.
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.peer: Option<PeerIdentity>The key or principal the dish’s connection proved; None when it is
anonymous.
subscriber_budget: u64Copies dropped for an exhausted byte budget.
subscriber_queue: u64Copies dropped for a full queue.
superseded: u64Copies reset because a newer segment opened on their topic.
expired: u64Copies reset because the max_age passed.
too_large: u64Datagram segments larger than the dish’s connection carries.
no_datagrams: u64Datagram segments for a dish that carries no datagrams.
layers_cut: u64Segment copies that lost layers above 0 and kept layer 0.
Trait Implementations§
impl Eq for DishDrops
impl StructuralPartialEq for DishDrops
Auto Trait Implementations§
impl Forget for DishDrops
impl Freeze for DishDrops
impl Move for DishDrops
impl RefUnwindSafe for DishDrops
impl Send for DishDrops
impl Sync for DishDrops
impl Unpin for DishDrops
impl UnsafeUnpin for DishDrops
impl UnwindSafe for DishDrops
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