pub enum TaskState {
Show 13 variants
New,
Starting,
Running,
Suspended,
Interrupted,
Pending,
Stopping,
Completed,
Killed,
Exception,
Service,
Cancelling,
Cancelled,
}
Variants§
New
This value shall represent that the task is newly created, but has not started.
Starting
This value shall represent that the task is starting.
Running
This value shall represent that the task is executing.
Suspended
This value shall represent that the task has been suspended but is expected to restart and is therefore not complete.
Interrupted
This value shall represent that the task has been interrupted but is expected to restart and is therefore not complete.
Pending
This value shall represent that the task is pending some condition and has not yet begun to execute.
Stopping
This value shall represent that the task is stopping but is not yet complete.
Completed
This value shall represent that the task completed successfully or with warnings.
Killed
This value shall represent that the task is complete because an operator killed it.
Exception
This value shall represent that the task completed with errors.
Service
This value shall represent that the task is now running as a service and expected to continue operation until stopped or killed.
Cancelling
This value shall represent that the task is in the process of being cancelled. Added in version v1_2_0.
Cancelled
This value shall represent that either a DELETE operation on a task monitor or Task resource or by an internal process cancelled the task. Added in version v1_2_0.