pub struct OverallEstimate {
pub fraction: f64,
pub remaining: Duration,
}Expand description
A snapshot of overall progress.
Fields§
§fraction: f64Share of the whole operation done, from 0.0 to 1.0. It never goes
down between calls, and stays below 1.0 until every phase finished.
remaining: DurationEstimated time until the operation finishes.
Trait Implementations§
Source§impl Clone for OverallEstimate
impl Clone for OverallEstimate
impl Copy for OverallEstimate
Source§impl Debug for OverallEstimate
impl Debug for OverallEstimate
Source§impl PartialEq for OverallEstimate
impl PartialEq for OverallEstimate
impl StructuralPartialEq for OverallEstimate
Auto Trait Implementations§
impl Freeze for OverallEstimate
impl RefUnwindSafe for OverallEstimate
impl Send for OverallEstimate
impl Sync for OverallEstimate
impl Unpin for OverallEstimate
impl UnsafeUnpin for OverallEstimate
impl UnwindSafe for OverallEstimate
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