pub enum SyncStatus {
Idle,
Ok(SyncReport),
Failed {
kind: ErrorKind,
message: String,
},
}Expand description
Outcome of the latest background sync.
Variants§
Idle
No sync has finished yet.
Ok(SyncReport)
The last sync succeeded.
Failed
The last sync failed; it will be retried after a backoff.
Trait Implementations§
Source§impl Clone for SyncStatus
impl Clone for SyncStatus
Source§impl Debug for SyncStatus
impl Debug for SyncStatus
impl Eq for SyncStatus
Source§impl PartialEq for SyncStatus
impl PartialEq for SyncStatus
impl StructuralPartialEq for SyncStatus
Auto Trait Implementations§
impl Freeze for SyncStatus
impl RefUnwindSafe for SyncStatus
impl Send for SyncStatus
impl Sync for SyncStatus
impl Unpin for SyncStatus
impl UnsafeUnpin for SyncStatus
impl UnwindSafe for SyncStatus
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