pub struct ProgressUpdate {
pub done: u64,
pub total: u64,
pub failed: u64,
pub elapsed: Duration,
pub remaining: Option<Duration>,
}Expand description
Runs finished so far, and the time left at the pace so far.
Fields§
§done: u64Number of runs finished so far. A run counts once it finishes, before it is written.
total: u64Number of runs this session executes.
failed: u64Number of finished runs that ended on a fault or a timeout.
elapsed: DurationTime since the ProgressMeter started. The meter starts before the first run is built.
remaining: Option<Duration>Time left at the mean pace of the finished runs, None before the first run finishes.
A time too long for a Duration is None as well.
Implementations§
Trait Implementations§
Source§impl Clone for ProgressUpdate
impl Clone for ProgressUpdate
impl Copy for ProgressUpdate
Source§impl Debug for ProgressUpdate
impl Debug for ProgressUpdate
impl Eq for ProgressUpdate
Source§impl PartialEq for ProgressUpdate
impl PartialEq for ProgressUpdate
impl StructuralPartialEq for ProgressUpdate
Auto Trait Implementations§
impl Freeze for ProgressUpdate
impl RefUnwindSafe for ProgressUpdate
impl Send for ProgressUpdate
impl Sync for ProgressUpdate
impl Unpin for ProgressUpdate
impl UnsafeUnpin for ProgressUpdate
impl UnwindSafe for ProgressUpdate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more