pub struct MetricsSnap {
pub peers_discovered: u64,
pub active_sessions: u64,
pub drops_created: u64,
pub drops_delivered: u64,
pub drops_relayed: u64,
pub chunks_transferred: u64,
pub bytes_transferred: u64,
pub route_decisions: u64,
pub failed_auth: u64,
pub expired: u64,
}Fields§
§peers_discovered: u64§active_sessions: u64§drops_created: u64§drops_delivered: u64§drops_relayed: u64§chunks_transferred: u64§bytes_transferred: u64§route_decisions: u64§failed_auth: u64§expired: u64Trait Implementations§
Source§impl Clone for MetricsSnap
impl Clone for MetricsSnap
Source§fn clone(&self) -> MetricsSnap
fn clone(&self) -> MetricsSnap
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 MetricsSnap
impl Debug for MetricsSnap
Auto Trait Implementations§
impl Freeze for MetricsSnap
impl RefUnwindSafe for MetricsSnap
impl Send for MetricsSnap
impl Sync for MetricsSnap
impl Unpin for MetricsSnap
impl UnsafeUnpin for MetricsSnap
impl UnwindSafe for MetricsSnap
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