pub struct DiscoveryRuntimeStats {
pub route_count: usize,
pub announcer_count: usize,
pub current_announce_interval_ms: Option<u64>,
pub next_announce_ms: Option<u64>,
}Fields§
§route_count: usize§announcer_count: usize§current_announce_interval_ms: Option<u64>§next_announce_ms: Option<u64>Trait Implementations§
Source§impl Clone for DiscoveryRuntimeStats
impl Clone for DiscoveryRuntimeStats
Source§fn clone(&self) -> DiscoveryRuntimeStats
fn clone(&self) -> DiscoveryRuntimeStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiscoveryRuntimeStats
impl Debug for DiscoveryRuntimeStats
impl Eq for DiscoveryRuntimeStats
Source§impl PartialEq for DiscoveryRuntimeStats
impl PartialEq for DiscoveryRuntimeStats
Source§fn eq(&self, other: &DiscoveryRuntimeStats) -> bool
fn eq(&self, other: &DiscoveryRuntimeStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiscoveryRuntimeStats
Auto Trait Implementations§
impl Freeze for DiscoveryRuntimeStats
impl RefUnwindSafe for DiscoveryRuntimeStats
impl Send for DiscoveryRuntimeStats
impl Sync for DiscoveryRuntimeStats
impl Unpin for DiscoveryRuntimeStats
impl UnsafeUnpin for DiscoveryRuntimeStats
impl UnwindSafe for DiscoveryRuntimeStats
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