pub enum SyncStatus {
Completed,
Cancelled,
}Expand description
Overall status of a sync operation.
Variants§
Completed
Sync completed successfully with all datasets processed.
Cancelled
Sync was cancelled but partial progress was saved.
Implementations§
Source§impl SyncStatus
impl SyncStatus
Sourcepub fn is_completed(&self) -> bool
pub fn is_completed(&self) -> bool
Returns true if the sync was completed successfully.
Sourcepub fn is_cancelled(&self) -> bool
pub fn is_cancelled(&self) -> bool
Returns true if the sync was cancelled.
Trait Implementations§
Source§impl Clone for SyncStatus
impl Clone for SyncStatus
Source§fn clone(&self) -> SyncStatus
fn clone(&self) -> SyncStatus
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 SyncStatus
impl Debug for SyncStatus
Source§impl PartialEq for SyncStatus
impl PartialEq for SyncStatus
impl Copy for SyncStatus
impl Eq 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