pub enum TaskInstanceState {
Scheduled,
Queued,
Unschedulable,
Running,
CleaningUp,
UpForRetry,
Success,
Failed,
Cancelled,
Skipped,
UpstreamFailed,
}Expand description
Where a task stands in its run, decided by the master.
Variants§
Scheduled
Created; its upstream tasks haven’t decided yet.
Queued
Ready to run, waiting for a worker or a concurrency limit.
Unschedulable
Every eligible worker rejected it.
Running
An attempt is running.
CleaningUp
The attempt’s process has ended and its per-task cleanup is running.
UpForRetry
An attempt failed and the next one waits for retry_delay.
Success
Succeeded (with an outcome).
Failed
Failed after its last retry.
Cancelled
Cancelled by a user.
Skipped
Skipped (a branch, an outcome edge not taken, all upstream tasks skipped).
UpstreamFailed
Will never run because an upstream task failed.
Implementations§
Trait Implementations§
Source§impl Clone for TaskInstanceState
impl Clone for TaskInstanceState
Source§fn clone(&self) -> TaskInstanceState
fn clone(&self) -> TaskInstanceState
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 TaskInstanceState
Source§impl Debug for TaskInstanceState
impl Debug for TaskInstanceState
Source§impl<'de> Deserialize<'de> for TaskInstanceState
impl<'de> Deserialize<'de> for TaskInstanceState
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 Display for TaskInstanceState
impl Display for TaskInstanceState
impl Eq for TaskInstanceState
Source§impl Hash for TaskInstanceState
impl Hash for TaskInstanceState
Source§impl JsonSchema for TaskInstanceState
impl JsonSchema for TaskInstanceState
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TaskInstanceState
impl PartialEq for TaskInstanceState
Source§impl Serialize for TaskInstanceState
impl Serialize for TaskInstanceState
impl StructuralPartialEq for TaskInstanceState
Auto Trait Implementations§
impl Freeze for TaskInstanceState
impl RefUnwindSafe for TaskInstanceState
impl Send for TaskInstanceState
impl Sync for TaskInstanceState
impl Unpin for TaskInstanceState
impl UnsafeUnpin for TaskInstanceState
impl UnwindSafe for TaskInstanceState
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