#[non_exhaustive]pub enum WorkflowExit {
Completed,
Halted,
Failed,
Stopped,
}Expand description
How a workflow that ran ended.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Completed
It ran to its end.
Halted
A task or a halt ended it early, on purpose.
Failed
A task failed and on_failure: continue stepped past it.
Stopped
It stopped the run.
Trait Implementations§
Source§impl Clone for WorkflowExit
impl Clone for WorkflowExit
impl Copy for WorkflowExit
Source§impl Debug for WorkflowExit
impl Debug for WorkflowExit
impl Eq for WorkflowExit
Source§impl PartialEq for WorkflowExit
impl PartialEq for WorkflowExit
Source§impl Serialize for WorkflowExit
Writes how a workflow ended as a lowercase string: completed,
halted, failed or stopped.
impl Serialize for WorkflowExit
Writes how a workflow ended as a lowercase string: completed,
halted, failed or stopped.
impl StructuralPartialEq for WorkflowExit
Auto Trait Implementations§
impl Freeze for WorkflowExit
impl RefUnwindSafe for WorkflowExit
impl Send for WorkflowExit
impl Sync for WorkflowExit
impl Unpin for WorkflowExit
impl UnsafeUnpin for WorkflowExit
impl UnwindSafe for WorkflowExit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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
Compare self to
key and return true if they are equal.