#[non_exhaustive]pub enum TaskEventKind {
Started,
Progress,
Completed,
Failed,
}Expand description
Task event kind.
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.
Trait Implementations§
Source§impl Clone for TaskEventKind
impl Clone for TaskEventKind
Source§fn clone(&self) -> TaskEventKind
fn clone(&self) -> TaskEventKind
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 TaskEventKind
impl Debug for TaskEventKind
Source§impl<'de> Deserialize<'de> for TaskEventKind
impl<'de> Deserialize<'de> for TaskEventKind
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 PartialEq for TaskEventKind
impl PartialEq for TaskEventKind
Source§impl Serialize for TaskEventKind
impl Serialize for TaskEventKind
impl Copy for TaskEventKind
impl Eq for TaskEventKind
impl StructuralPartialEq for TaskEventKind
Auto Trait Implementations§
impl Freeze for TaskEventKind
impl RefUnwindSafe for TaskEventKind
impl Send for TaskEventKind
impl Sync for TaskEventKind
impl Unpin for TaskEventKind
impl UnsafeUnpin for TaskEventKind
impl UnwindSafe for TaskEventKind
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