pub enum ProgressPhase {
Started,
Running,
Finished,
Failed,
Canceled,
}Expand description
Lifecycle phase of a progress event.
Variants§
Started
Operation has started.
Running
Operation is still running.
Finished
Operation finished successfully.
Failed
Operation failed.
Canceled
Operation was canceled.
Implementations§
Source§impl ProgressPhase
impl ProgressPhase
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 (const: unstable) · 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<'de> Deserialize<'de> for ProgressPhase
impl<'de> Deserialize<'de> for ProgressPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
Source§fn eq(&self, other: &ProgressPhase) -> bool
fn eq(&self, other: &ProgressPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProgressPhase
impl Serialize 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