pub struct SyncReport {
pub events_sent: usize,
pub events_received: usize,
pub bytes_transferred: usize,
pub rounds: usize,
}Expand description
Summary of a completed sync operation.
Fields§
§events_sent: usizeNumber of events sent to the remote.
events_received: usizeNumber of events received from the remote.
bytes_transferred: usizeTotal bytes transferred (approximate, based on serialized event size).
rounds: usizeNumber of hash-exchange rounds used during the diff phase.
Implementations§
Trait Implementations§
Source§impl Clone for SyncReport
impl Clone for SyncReport
Source§fn clone(&self) -> SyncReport
fn clone(&self) -> SyncReport
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 SyncReport
impl Debug for SyncReport
Source§impl PartialEq for SyncReport
impl PartialEq for SyncReport
impl Eq for SyncReport
impl StructuralPartialEq for SyncReport
Auto Trait Implementations§
impl Freeze for SyncReport
impl RefUnwindSafe for SyncReport
impl Send for SyncReport
impl Sync for SyncReport
impl Unpin for SyncReport
impl UnsafeUnpin for SyncReport
impl UnwindSafe for SyncReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.