pub struct NodeStats {
pub active_connections: usize,
pub successful_connections: u64,
pub failed_connections: u64,
pub nat_traversal_attempts: u64,
pub nat_traversal_successes: u64,
pub start_time: Instant,
}
Expand description
Aggregate node statistics for monitoring and telemetry
Fields§
§active_connections: usize
Number of active connections
successful_connections: u64
Total successful connections
failed_connections: u64
Total failed connections
nat_traversal_attempts: u64
NAT traversal attempts
nat_traversal_successes: u64
Successful NAT traversals
start_time: Instant
Node start time
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeStats
impl RefUnwindSafe for NodeStats
impl Send for NodeStats
impl Sync for NodeStats
impl Unpin for NodeStats
impl UnwindSafe for NodeStats
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