pub struct PeerLifetimeStats {
pub total_tracked: usize,
pub connected: usize,
pub disconnected: usize,
}Expand description
Statistics about tracked peers
Fields§
§total_tracked: usizeTotal number of tracked peers
connected: usizeNumber of connected peers
disconnected: usizeNumber of disconnected peers
Trait Implementations§
Source§impl Clone for PeerLifetimeStats
impl Clone for PeerLifetimeStats
Source§fn clone(&self) -> PeerLifetimeStats
fn clone(&self) -> PeerLifetimeStats
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 moreSource§impl Debug for PeerLifetimeStats
impl Debug for PeerLifetimeStats
impl Copy for PeerLifetimeStats
Auto Trait Implementations§
impl Freeze for PeerLifetimeStats
impl RefUnwindSafe for PeerLifetimeStats
impl Send for PeerLifetimeStats
impl Sync for PeerLifetimeStats
impl Unpin for PeerLifetimeStats
impl UnsafeUnpin for PeerLifetimeStats
impl UnwindSafe for PeerLifetimeStats
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