pub struct Metrics {
pub peers_discovered: AtomicU64,
pub active_sessions: AtomicU64,
pub drops_created: AtomicU64,
pub drops_delivered: AtomicU64,
pub drops_relayed: AtomicU64,
pub chunks_transferred: AtomicU64,
pub bytes_transferred: AtomicU64,
pub route_decisions: AtomicU64,
pub failed_auth: AtomicU64,
pub expired: AtomicU64,
}Fields§
§peers_discovered: AtomicU64§active_sessions: AtomicU64§drops_created: AtomicU64§drops_delivered: AtomicU64§drops_relayed: AtomicU64§chunks_transferred: AtomicU64§bytes_transferred: AtomicU64§route_decisions: AtomicU64§failed_auth: AtomicU64§expired: AtomicU64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnsafeUnpin for Metrics
impl UnwindSafe for Metrics
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