pub enum TaskState {
Queued,
Running,
Completed,
Cancelled,
Aborted,
Panicked,
Leaked,
}Expand description
Identifies the task state.
Variants§
Queued
Represents the queued case.
Running
Represents the running case.
Completed
Represents the completed case.
Cancelled
Represents the cancelled case.
Aborted
Represents the aborted case.
Panicked
Represents the panicked case.
Leaked
Represents the leaked case.
Trait Implementations§
impl Copy for TaskState
impl Eq for TaskState
impl StructuralPartialEq for TaskState
Auto Trait Implementations§
impl Freeze for TaskState
impl RefUnwindSafe for TaskState
impl Send for TaskState
impl Sync for TaskState
impl Unpin for TaskState
impl UnsafeUnpin for TaskState
impl UnwindSafe for TaskState
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