#[non_exhaustive]pub enum TaskDisplayKind {
Progress,
Activity,
}Expand description
Reporting shape of one task.
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.
Progress
Iterative work with an optional target supplied when execution starts.
Activity
One-shot lifecycle work without an artificial iteration counter.
Trait Implementations§
Source§impl Clone for TaskDisplayKind
impl Clone for TaskDisplayKind
Source§fn clone(&self) -> TaskDisplayKind
fn clone(&self) -> TaskDisplayKind
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 TaskDisplayKind
Source§impl Debug for TaskDisplayKind
impl Debug for TaskDisplayKind
impl Eq for TaskDisplayKind
Source§impl PartialEq for TaskDisplayKind
impl PartialEq for TaskDisplayKind
impl StructuralPartialEq for TaskDisplayKind
Auto Trait Implementations§
impl Freeze for TaskDisplayKind
impl RefUnwindSafe for TaskDisplayKind
impl Send for TaskDisplayKind
impl Sync for TaskDisplayKind
impl Unpin for TaskDisplayKind
impl UnsafeUnpin for TaskDisplayKind
impl UnwindSafe for TaskDisplayKind
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