pub struct BroadcastStats {
pub peer_count: usize,
pub seen_messages: usize,
pub pending_events: usize,
pub timestamp: u64,
}Expand description
Statistics about the broadcaster.
Fields§
§peer_count: usize§seen_messages: usize§pending_events: usize§timestamp: u64Trait Implementations§
Source§impl Clone for BroadcastStats
impl Clone for BroadcastStats
Source§fn clone(&self) -> BroadcastStats
fn clone(&self) -> BroadcastStats
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 BroadcastStats
impl RefUnwindSafe for BroadcastStats
impl Send for BroadcastStats
impl Sync for BroadcastStats
impl Unpin for BroadcastStats
impl UnwindSafe for BroadcastStats
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