pub struct MetricsSnapshot {Show 18 fields
pub connections_total: u64,
pub connections_active: u64,
pub handshakes_total: u64,
pub handshakes_success: u64,
pub handshakes_failed: u64,
pub messages_sent: u64,
pub messages_received: u64,
pub bytes_sent: u64,
pub bytes_received: u64,
pub compression_total: u64,
pub compression_success: u64,
pub encryption_total: u64,
pub encryption_success: u64,
pub replay_cache_hits: u64,
pub replay_cache_misses: u64,
pub connection_errors: u64,
pub protocol_errors: u64,
pub uptime_seconds: u64,
}Expand description
Snapshot of metrics at a point in time
Fields§
§connections_total: u64§connections_active: u64§handshakes_total: u64§handshakes_success: u64§handshakes_failed: u64§messages_sent: u64§messages_received: u64§bytes_sent: u64§bytes_received: u64§compression_total: u64§compression_success: u64§encryption_total: u64§encryption_success: u64§replay_cache_hits: u64§replay_cache_misses: u64§connection_errors: u64§protocol_errors: u64§uptime_seconds: u64Trait Implementations§
Source§impl Clone for MetricsSnapshot
impl Clone for MetricsSnapshot
Source§fn clone(&self) -> MetricsSnapshot
fn clone(&self) -> MetricsSnapshot
Returns a duplicate of the value. Read more
1.0.0 · 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 MetricsSnapshot
impl RefUnwindSafe for MetricsSnapshot
impl Send for MetricsSnapshot
impl Sync for MetricsSnapshot
impl Unpin for MetricsSnapshot
impl UnwindSafe for MetricsSnapshot
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