pub struct SyncOutcome {
pub pushed: Option<ApplyResult>,
pub pulled: Option<ApplyResult>,
pub already_in_sync: bool,
}Expand description
Outcome of a sync session.
Fields§
§pushed: Option<ApplyResult>Result of the push phase (if Push or Bidirectional).
pulled: Option<ApplyResult>Result of the pull phase (if Pull or Bidirectional).
already_in_sync: boolTrue if both databases were already identical.
Trait Implementations§
Source§impl Clone for SyncOutcome
impl Clone for SyncOutcome
Source§fn clone(&self) -> SyncOutcome
fn clone(&self) -> SyncOutcome
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 SyncOutcome
impl RefUnwindSafe for SyncOutcome
impl Send for SyncOutcome
impl Sync for SyncOutcome
impl Unpin for SyncOutcome
impl UnsafeUnpin for SyncOutcome
impl UnwindSafe for SyncOutcome
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