Enum googapis::google::cloud::integrations::v1alpha::task_config::TaskExecutionStrategy [−][src]
#[repr(i32)]
pub enum TaskExecutionStrategy {
Unspecified,
WhenAllSucceed,
WhenAnySucceed,
WhenAllTasksAndConditionsSucceed,
}
Expand description
Various policies to trigger the execution of this task.
Variants
Default. If the strategy is not set explicitly, it will default to
WHEN_ALL_SUCCEED
.
Wait until all of its previous tasks finished execution, then verify at least one of the edge conditions is met, and execute if possible. This should be considered as WHEN_ALL_TASKS_SUCCEED.
Start execution as long as any of its previous tasks finished execution and the corresponding edge condition is met (since we will execute if only that succeeding edge condition is met).
Wait until all of its previous tasks finished execution, then verify the all edge conditions are met and execute if possible.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for TaskExecutionStrategy
impl Send for TaskExecutionStrategy
impl Sync for TaskExecutionStrategy
impl Unpin for TaskExecutionStrategy
impl UnwindSafe for TaskExecutionStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more