#[non_exhaustive]pub struct DiscoveryCounters {
pub who_is_received: u64,
pub who_has_received: u64,
pub i_am_sent: u64,
pub i_have_sent: u64,
pub response_bytes_sent: u64,
pub requests_coalesced: u64,
pub responses_throttled_source: u64,
pub responses_throttled_global: u64,
pub directed_responses_sent: u64,
pub malformed_dropped: u64,
}Expand description
Operational counters for discovery requests and responses.
Non-exhaustive, so a counter can be added without breaking callers: read
it from BACnetServer::discovery_counters
and its fields rather than building one.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.who_is_received: u64Total Who-Is requests received.
who_has_received: u64Total Who-Has requests received.
i_am_sent: u64Total I-Am responses sent.
i_have_sent: u64Total I-Have responses sent.
response_bytes_sent: u64Total response bytes sent for discovery.
requests_coalesced: u64Total duplicate or cached requests coalesced without sending responses.
responses_throttled_source: u64Responses throttled by per-source rate or burst limits.
responses_throttled_global: u64Responses throttled by global rate or reserved capacity limits.
directed_responses_sent: u64Total directed unicast discovery responses sent.
malformed_dropped: u64Who-Is and Who-Has requests dropped because they didn’t decode, such as one with a single limit or octets after its last member. They are dropped before any other work and count in neither received total.