pub struct SyncSummary {
pub copied_to_a: usize,
pub copied_to_b: usize,
pub fast_forwarded: usize,
pub merged: usize,
pub conflicts: Vec<RecordKey>,
pub unconverged: Vec<RecordKey>,
}Expand description
Summary returned by sync_stores.
Fields§
§copied_to_a: usize§copied_to_b: usize§fast_forwarded: usizeKeys where one store was behind the other’s revision chain and was overwritten (both directions, tombstones included).
merged: usize§conflicts: Vec<RecordKey>The keys sync could not reconcile, so the caller can print them rather than only a count (gonzalo#299).
unconverged: Vec<RecordKey>Keys still racing when sync gave up after its pass limit. Non-empty means the stores may still disagree on them even with no conflicts, so the run is not proof of convergence (gonzalo#290).
Trait Implementations§
Source§impl Clone for SyncSummary
impl Clone for SyncSummary
Source§fn clone(&self) -> SyncSummary
fn clone(&self) -> SyncSummary
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 SyncSummary
impl Debug for SyncSummary
Source§impl Default for SyncSummary
impl Default for SyncSummary
Source§fn default() -> SyncSummary
fn default() -> SyncSummary
Returns the “default value” for a type. Read more
impl Eq for SyncSummary
Source§impl PartialEq for SyncSummary
impl PartialEq for SyncSummary
impl StructuralPartialEq for SyncSummary
Auto Trait Implementations§
impl Freeze for SyncSummary
impl RefUnwindSafe for SyncSummary
impl Send for SyncSummary
impl Sync for SyncSummary
impl Unpin for SyncSummary
impl UnsafeUnpin for SyncSummary
impl UnwindSafe for SyncSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.