pub struct StatsSnapshot {
pub accepted: usize,
pub deduplicated: usize,
pub total_received: usize,
pub partial_reconnects: usize,
pub full_reconnects: usize,
pub configured_connections: usize,
pub active_connections: usize,
}Expand description
Snapshot of statistics for external consumption.
Fields§
§accepted: usizeTotal number of accepted reports
deduplicated: usizeTotal number of deduplicated reports when in HA
total_received: usizeTotal number of received reports
partial_reconnects: usizeTotal number of partial reconnects when in HA
full_reconnects: usizeTotal number of full reconnects
configured_connections: usizeNumber of configured connections if in HA
active_connections: usizeCurrent number of active connections
Trait Implementations§
Source§impl Clone for StatsSnapshot
impl Clone for StatsSnapshot
Source§fn clone(&self) -> StatsSnapshot
fn clone(&self) -> StatsSnapshot
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 moreAuto Trait Implementations§
impl Freeze for StatsSnapshot
impl RefUnwindSafe for StatsSnapshot
impl Send for StatsSnapshot
impl Sync for StatsSnapshot
impl Unpin for StatsSnapshot
impl UnsafeUnpin for StatsSnapshot
impl UnwindSafe for StatsSnapshot
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