Enum google_api_proto::google::cloud::integrations::v1alpha::task_execution_details::TaskExecutionState
source · #[repr(i32)]pub enum TaskExecutionState {
Show 13 variants
Unspecified = 0,
PendingExecution = 1,
InProcess = 2,
Succeed = 3,
Failed = 4,
Fatal = 5,
RetryOnHold = 6,
Skipped = 7,
Cancelled = 8,
PendingRollback = 9,
RollbackInProcess = 10,
Rolledback = 11,
Suspended = 12,
}
Expand description
Enum TaskExecutionState.
Variants§
Unspecified = 0
Default value.
PendingExecution = 1
Task is waiting for its precondition tasks to finish to start the execution.
InProcess = 2
Task is under processing.
Succeed = 3
Task execution successfully finished. There’s no more change after this state.
Failed = 4
Task execution failed. There’s no more change after this state.
Fatal = 5
Task execution failed and cause the whole integration execution to fail immediately. There’s no more change after this state.
RetryOnHold = 6
Task execution failed and waiting for retry.
Skipped = 7
Task execution skipped. This happens when its precondition wasn’t met, or the integration execution been canceled before reach to the task. There’s no more changes after this state.
Cancelled = 8
Task execution canceled when in progress. This happens when integration execution been canceled or any other task fall in fatal state.
PendingRollback = 9
Task is waiting for its dependency tasks’ rollback to finish to start its rollback.
RollbackInProcess = 10
Task is rolling back.
Rolledback = 11
Task is rolled back. This is the state we will set regardless of rollback succeeding or failing.
Suspended = 12
Task is a SuspensionTask which has executed once, creating a pending suspension.
Implementations§
source§impl TaskExecutionState
impl TaskExecutionState
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for TaskExecutionState
impl Clone for TaskExecutionState
source§fn clone(&self) -> TaskExecutionState
fn clone(&self) -> TaskExecutionState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TaskExecutionState
impl Debug for TaskExecutionState
source§impl Default for TaskExecutionState
impl Default for TaskExecutionState
source§fn default() -> TaskExecutionState
fn default() -> TaskExecutionState
source§impl From<TaskExecutionState> for i32
impl From<TaskExecutionState> for i32
source§fn from(value: TaskExecutionState) -> i32
fn from(value: TaskExecutionState) -> i32
source§impl Hash for TaskExecutionState
impl Hash for TaskExecutionState
source§impl Ord for TaskExecutionState
impl Ord for TaskExecutionState
source§fn cmp(&self, other: &TaskExecutionState) -> Ordering
fn cmp(&self, other: &TaskExecutionState) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for TaskExecutionState
impl PartialEq for TaskExecutionState
source§fn eq(&self, other: &TaskExecutionState) -> bool
fn eq(&self, other: &TaskExecutionState) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TaskExecutionState
impl PartialOrd for TaskExecutionState
source§fn partial_cmp(&self, other: &TaskExecutionState) -> Option<Ordering>
fn partial_cmp(&self, other: &TaskExecutionState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for TaskExecutionState
impl TryFrom<i32> for TaskExecutionState
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<TaskExecutionState, UnknownEnumValue>
fn try_from(value: i32) -> Result<TaskExecutionState, UnknownEnumValue>
impl Copy for TaskExecutionState
impl Eq for TaskExecutionState
impl StructuralPartialEq for TaskExecutionState
Auto Trait Implementations§
impl Freeze for TaskExecutionState
impl RefUnwindSafe for TaskExecutionState
impl Send for TaskExecutionState
impl Sync for TaskExecutionState
impl Unpin for TaskExecutionState
impl UnwindSafe for TaskExecutionState
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request