#[non_exhaustive]pub enum Total {
Exact(u64),
Estimated(u64),
Unknown,
}Expand description
The denominator for completed work in one phase.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Exact(u64)
A known count. Counting past it is recorded as an overrun.
Estimated(u64)
A revisable estimate. Reaching it does not finish the phase.
Unknown
No useful denominator yet.
Trait Implementations§
impl Copy for Total
impl Eq for Total
impl StructuralPartialEq for Total
Auto Trait Implementations§
impl Freeze for Total
impl RefUnwindSafe for Total
impl Send for Total
impl Sync for Total
impl Unpin for Total
impl UnsafeUnpin for Total
impl UnwindSafe for Total
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