pub struct DiversityStats {
pub accepted: u64,
pub duplicates: u64,
pub passthrough: u64,
pub cached_packets: usize,
pub sources: BTreeMap<DiversitySourceId, DiversitySourceStats>,
}Expand description
Cumulative state of the packet diversity combiner.
Fields§
§accepted: u64First WFB copies forwarded to the protocol pipeline.
duplicates: u64Duplicate WFB copies discarded before decryption.
passthrough: u64Unclassified frames forwarded without deduplication.
cached_packets: usizeCurrent number of packet identities in the bounded deduplication cache.
sources: BTreeMap<DiversitySourceId, DiversitySourceStats>Per-radio contribution counters.
Trait Implementations§
Source§impl Clone for DiversityStats
impl Clone for DiversityStats
Source§fn clone(&self) -> DiversityStats
fn clone(&self) -> DiversityStats
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 moreSource§impl Debug for DiversityStats
impl Debug for DiversityStats
Source§impl Default for DiversityStats
impl Default for DiversityStats
Source§fn default() -> DiversityStats
fn default() -> DiversityStats
Returns the “default value” for a type. Read more
impl Eq for DiversityStats
Source§impl PartialEq for DiversityStats
impl PartialEq for DiversityStats
Source§fn eq(&self, other: &DiversityStats) -> bool
fn eq(&self, other: &DiversityStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiversityStats
Auto Trait Implementations§
impl Freeze for DiversityStats
impl RefUnwindSafe for DiversityStats
impl Send for DiversityStats
impl Sync for DiversityStats
impl Unpin for DiversityStats
impl UnsafeUnpin for DiversityStats
impl UnwindSafe for DiversityStats
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