pub enum ProgressEvent {
ScanComplete {
file_count: u64,
},
ProcessStart {
total: u64,
},
ProcessFile {
completed: u64,
total: u64,
},
PackComplete,
ScanCurrentComplete {
file_count: u64,
},
RestoreStart {
add: u64,
change: u64,
remove: u64,
},
RestoreFile {
completed: u64,
total: u64,
},
}Expand description
Events emitted during save/restore operations for progress reporting.
Variants§
Auto Trait Implementations§
impl Freeze for ProgressEvent
impl RefUnwindSafe for ProgressEvent
impl Send for ProgressEvent
impl Sync for ProgressEvent
impl Unpin for ProgressEvent
impl UnsafeUnpin for ProgressEvent
impl UnwindSafe for ProgressEvent
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