pub struct DiscoveryMetrics {
pub total_discovered: usize,
pub active_connections: usize,
pub failed_connections: u64,
pub avg_discovery_time: f64,
pub network_coverage: f64,
}
Expand description
Discovery metrics
Fieldsยง
ยงtotal_discovered: usize
Total discovered organisms
active_connections: usize
Active connections
failed_connections: u64
Failed connection attempts
avg_discovery_time: f64
Average discovery time (milliseconds)
network_coverage: f64
Network coverage percentage
Trait Implementationsยง
Sourceยงimpl Clone for DiscoveryMetrics
impl Clone for DiscoveryMetrics
Sourceยงfn clone(&self) -> DiscoveryMetrics
fn clone(&self) -> DiscoveryMetrics
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 DiscoveryMetrics
impl Debug for DiscoveryMetrics
Sourceยงimpl<'de> Deserialize<'de> for DiscoveryMetrics
impl<'de> Deserialize<'de> for DiscoveryMetrics
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementationsยง
impl Freeze for DiscoveryMetrics
impl RefUnwindSafe for DiscoveryMetrics
impl Send for DiscoveryMetrics
impl Sync for DiscoveryMetrics
impl Unpin for DiscoveryMetrics
impl UnwindSafe for DiscoveryMetrics
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