pub struct DeltaStats {
pub peer_count: usize,
pub total_bytes_sent: u64,
pub total_bytes_received: u64,
pub total_syncs: u32,
pub tracked_keys: usize,
}Expand description
Statistics about delta encoding
Fields§
§peer_count: usizeNumber of peers being tracked
total_bytes_sent: u64Total bytes sent across all peers
total_bytes_received: u64Total bytes received across all peers
total_syncs: u32Total number of sync operations
tracked_keys: usizeNumber of keys being tracked
Trait Implementations§
Source§impl Clone for DeltaStats
impl Clone for DeltaStats
Source§fn clone(&self) -> DeltaStats
fn clone(&self) -> DeltaStats
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 DeltaStats
impl Debug for DeltaStats
Source§impl Default for DeltaStats
impl Default for DeltaStats
Source§fn default() -> DeltaStats
fn default() -> DeltaStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeltaStats
impl RefUnwindSafe for DeltaStats
impl Send for DeltaStats
impl Sync for DeltaStats
impl Unpin for DeltaStats
impl UnwindSafe for DeltaStats
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