pub struct ProgressCounters {
pub files_done: Arc<AtomicUsize>,
pub files_total: Arc<AtomicUsize>,
}Expand description
Atomics shared between analyze() and the caller so the caller can poll scan progress.
Fields§
§files_done: Arc<AtomicUsize>Number of candidate files processed so far (incremented per file, across all threads).
files_total: Arc<AtomicUsize>Total candidate files discovered (set before parallel analysis begins).
Auto Trait Implementations§
impl Freeze for ProgressCounters
impl RefUnwindSafe for ProgressCounters
impl Send for ProgressCounters
impl Sync for ProgressCounters
impl Unpin for ProgressCounters
impl UnsafeUnpin for ProgressCounters
impl UnwindSafe for ProgressCounters
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