pub struct DiscoveryStats {
pub total_known_peers: usize,
pub connected_peers: usize,
pub max_peers: usize,
}
Expand description
Discovery statistics
Fields§
§total_known_peers: usize
§connected_peers: usize
§max_peers: usize
Trait Implementations§
Source§impl Clone for DiscoveryStats
impl Clone for DiscoveryStats
Source§fn clone(&self) -> DiscoveryStats
fn clone(&self) -> DiscoveryStats
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 moreAuto Trait Implementations§
impl Freeze for DiscoveryStats
impl RefUnwindSafe for DiscoveryStats
impl Send for DiscoveryStats
impl Sync for DiscoveryStats
impl Unpin for DiscoveryStats
impl UnwindSafe for DiscoveryStats
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