pub enum SyncEvent {
Started,
Progress {
current: usize,
total: usize,
},
Completed(SyncResult),
Failed(String),
ConflictDetected(SyncConflict),
}
Expand description
Synchronization event
Variants§
Started
Sync started
Progress
Sync progress update
Completed(SyncResult)
Sync completed successfully
Failed(String)
Sync failed
ConflictDetected(SyncConflict)
Conflict detected
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncEvent
impl RefUnwindSafe for SyncEvent
impl Send for SyncEvent
impl Sync for SyncEvent
impl Unpin for SyncEvent
impl UnwindSafe for SyncEvent
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