pub struct CacheStats {
pub total_peers: usize,
pub relay_peers: usize,
pub coordinator_peers: usize,
pub dual_stack_relay_peers: usize,
pub average_quality: f64,
pub untested_peers: usize,
}Expand description
Cache statistics
Fields§
§total_peers: usizeTotal number of cached peers
relay_peers: usizePeers that support relay
coordinator_peers: usizePeers that support NAT coordination
dual_stack_relay_peers: usizePeers that support dual-stack (IPv4 + IPv6) bridging
average_quality: f64Average quality score across all peers
untested_peers: usizeNumber of untested peers
Trait Implementations§
Source§impl Clone for CacheStats
impl Clone for CacheStats
Source§impl Debug for CacheStats
impl Debug for CacheStats
Auto Trait Implementations§
impl Freeze for CacheStats
impl RefUnwindSafe for CacheStats
impl Send for CacheStats
impl Sync for CacheStats
impl Unpin for CacheStats
impl UnsafeUnpin for CacheStats
impl UnwindSafe for CacheStats
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