pub enum Progress {
Discovered(usize),
Read {
done: usize,
total: usize,
},
}Expand description
Progress event, for display.
Variants§
Discovered(usize)
Directory traversal finished: number of audio files spotted.
Read
n files processed out of total.
Fields
§
total: usizeFiles needing a fresh read. On an incremental scan this stays well
below the count announced by Progress::Discovered, since reused
files never enter the queue.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnwindSafe for Progress
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