pub enum SyncEvent {
Started,
Progress {
current: usize,
total: usize,
},
Completed(SyncResult),
Failed(String),
ConflictDetected(SyncConflict),
}Expand description
Synchronization event for tracking sync operations
Variants§
Started
Sync operation started
Progress
Sync progress update with current and total items
Fields
Completed(SyncResult)
Sync completed successfully with result details
Failed(String)
Sync failed with error message
ConflictDetected(SyncConflict)
Conflict detected during synchronization
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