Struct everscale_network::overlay::ShardMetrics
source · [−]pub struct ShardMetrics {
pub owned_broadcasts_len: usize,
pub finished_broadcasts_len: u32,
pub node_count: usize,
pub known_peers_len: usize,
pub random_peers_len: usize,
pub neighbours: usize,
pub received_broadcasts_data_len: usize,
pub received_broadcasts_barrier_count: usize,
}Expand description
Instant overlay shard metrics
Fields
owned_broadcasts_len: usizefinished_broadcasts_len: u32node_count: usizeknown_peers_len: usizerandom_peers_len: usizeneighbours: usizereceived_broadcasts_data_len: usizereceived_broadcasts_barrier_count: usizeTrait Implementations
sourceimpl Clone for ShardMetrics
impl Clone for ShardMetrics
sourcefn clone(&self) -> ShardMetrics
fn clone(&self) -> ShardMetrics
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ShardMetrics
impl Debug for ShardMetrics
impl Copy for ShardMetrics
Auto Trait Implementations
impl RefUnwindSafe for ShardMetrics
impl Send for ShardMetrics
impl Sync for ShardMetrics
impl Unpin for ShardMetrics
impl UnwindSafe for ShardMetrics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more