#[repr(i32)]pub enum ProgressState {
Begin = 0,
Update = 1,
End = 2,
}Expand description
Position of an event within its step’s lifetime.
Variants§
Begin = 0
The step is starting. Always paired with an End.
Update = 1
Counters advanced. Throttled — samples may be dropped.
End = 2
The step finished; the counters hold the final tally.
Trait Implementations§
Source§impl Clone for ProgressState
impl Clone for ProgressState
Source§fn clone(&self) -> ProgressState
fn clone(&self) -> ProgressState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProgressState
Source§impl Debug for ProgressState
impl Debug for ProgressState
impl Eq for ProgressState
Source§impl Hash for ProgressState
impl Hash for ProgressState
Source§impl PartialEq for ProgressState
impl PartialEq for ProgressState
impl StructuralPartialEq for ProgressState
Auto Trait Implementations§
impl Freeze for ProgressState
impl RefUnwindSafe for ProgressState
impl Send for ProgressState
impl Sync for ProgressState
impl Unpin for ProgressState
impl UnsafeUnpin for ProgressState
impl UnwindSafe for ProgressState
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