pub struct SyncReport {
pub passes: u32,
pub outcome: PassOutcome,
pub uploaded: usize,
pub downloaded: usize,
pub tombstones_applied: usize,
pub tombstones_written: usize,
pub quarantined: usize,
pub elapsed_ms: u64,
pub work: WorkOutcome,
pub next_delay_secs: Option<f64>,
pub consent_required: Option<ConsentRequest>,
}Expand description
What sync_once did, in plain data a host can pass across an FFI boundary.
Fields§
§passes: u32Passes actually run (a deferred pass counts: it was attempted and did nothing).
outcome: PassOutcomeThe last pass’s outcome.
uploaded: usize§downloaded: usize§tombstones_applied: usize§tombstones_written: usize§quarantined: usize§elapsed_ms: u64§work: WorkOutcome§next_delay_secs: Option<f64>Seconds until the host should run again; None when no run should be scheduled
(sync disabled, or waiting on the app).
consent_required: Option<ConsentRequest>Set when the signed-in account changed and the app must call
SyncEngine::grant_consent.
Trait Implementations§
Source§impl Clone for SyncReport
impl Clone for SyncReport
Source§impl Debug for SyncReport
impl Debug for SyncReport
Source§impl PartialEq for SyncReport
impl PartialEq for SyncReport
impl StructuralPartialEq for SyncReport
Auto Trait Implementations§
impl Forget for SyncReport
impl Freeze for SyncReport
impl Move 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