pub enum ProgressPhase {
Started,
Running,
Finished,
Failed,
Canceled,
}Expand description
Lifecycle phase of a progress-producing operation.
Variants§
Started
The operation has started.
Running
The operation is still running.
Finished
The operation finished successfully.
Failed
The operation reached a failed terminal state.
Canceled
The operation was canceled before normal completion.
Implementations§
Trait Implementations§
Source§impl Clone for ProgressPhase
impl Clone for ProgressPhase
Source§fn clone(&self) -> ProgressPhase
fn clone(&self) -> ProgressPhase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgressPhase
impl Debug for ProgressPhase
Source§impl Display for ProgressPhase
impl Display for ProgressPhase
Source§impl Hash for ProgressPhase
impl Hash for ProgressPhase
Source§impl PartialEq for ProgressPhase
impl PartialEq for ProgressPhase
impl Copy for ProgressPhase
impl Eq for ProgressPhase
impl StructuralPartialEq for ProgressPhase
Auto Trait Implementations§
impl Freeze for ProgressPhase
impl RefUnwindSafe for ProgressPhase
impl Send for ProgressPhase
impl Sync for ProgressPhase
impl Unpin for ProgressPhase
impl UnsafeUnpin for ProgressPhase
impl UnwindSafe for ProgressPhase
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