pub enum CheckProgress {
Begin {
total: usize,
},
Started {
label: String,
},
Finished {
label: String,
elapsed: Duration,
status: CheckStatus,
},
}Expand description
Live verification progress, emitted as workloads start and finish so a
caller (e.g. nmbrs check) can render an active/pending/done/errors
status line. Invoked from worker threads — handlers must be Sync.
Variants§
Begin
Discovery finished — total workloads will be checked.
Started
A workload began running.
Finished
A workload finished, with its wall-clock and aggregate status.
Trait Implementations§
Source§impl Clone for CheckProgress
impl Clone for CheckProgress
Auto Trait Implementations§
impl Freeze for CheckProgress
impl RefUnwindSafe for CheckProgress
impl Send for CheckProgress
impl Sync for CheckProgress
impl Unpin for CheckProgress
impl UnsafeUnpin for CheckProgress
impl UnwindSafe for CheckProgress
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