pub enum TaskState {
Queued,
Running,
Success,
Failed,
}Expand description
The lifecycle state of a task.
Variants§
Queued
The task has been submitted but not yet received by a consumer.
Running
A consumer has received the task.
Success
The consumer marked the task as successfully completed.
Failed
The task failed or exceeded the configured running timeout.
Trait Implementations§
impl Copy 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