pub struct ProgressMonitor { /* private fields */ }Expand description
Monitor for tracking parallel execution progress.
Implementations§
Source§impl ProgressMonitor
impl ProgressMonitor
Sourcepub fn record_completion(&self, worker_id: usize)
pub fn record_completion(&self, worker_id: usize)
Record a completed test for a worker.
Sourcepub fn total_completed(&self) -> usize
pub fn total_completed(&self) -> usize
Get total completed tests across all workers.
Sourcepub fn progress_percent(&self) -> f64
pub fn progress_percent(&self) -> f64
Get completion percentage.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProgressMonitor
impl RefUnwindSafe for ProgressMonitor
impl Send for ProgressMonitor
impl Sync for ProgressMonitor
impl Unpin for ProgressMonitor
impl UnsafeUnpin for ProgressMonitor
impl UnwindSafe for ProgressMonitor
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