#[non_exhaustive]pub enum WorkflowRemediationCheckpoint {
GenerationReady {
input: Value,
},
GenerationInFlight {
input: Value,
},
ReviewReady {
candidate: Value,
},
ReviewInFlight {
candidate: Value,
},
Approved {
output: Value,
},
Rejected {
candidate: Value,
reason: String,
},
Exhausted {
candidate: Value,
feedback: Value,
},
}Expand description
Durable substate of one repairable workflow node.
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.
GenerationReady
The next generation input is durable and has not started.
GenerationInFlight
A generation may have partially executed.
ReviewReady
A generated candidate is durable and has not entered review.
ReviewInFlight
Review of a durable candidate may have partially executed.
Approved
Review accepted a durable candidate before the outer node commit.
Rejected
Review permanently rejected a candidate.
Fields
Exhausted
The configured repair limit was exhausted.
Trait Implementations§
Source§impl Clone for WorkflowRemediationCheckpoint
impl Clone for WorkflowRemediationCheckpoint
Source§fn clone(&self) -> WorkflowRemediationCheckpoint
fn clone(&self) -> WorkflowRemediationCheckpoint
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 moreSource§impl<'de> Deserialize<'de> for WorkflowRemediationCheckpoint
impl<'de> Deserialize<'de> for WorkflowRemediationCheckpoint
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
impl StructuralPartialEq for WorkflowRemediationCheckpoint
Auto Trait Implementations§
impl Freeze for WorkflowRemediationCheckpoint
impl RefUnwindSafe for WorkflowRemediationCheckpoint
impl Send for WorkflowRemediationCheckpoint
impl Sync for WorkflowRemediationCheckpoint
impl Unpin for WorkflowRemediationCheckpoint
impl UnsafeUnpin for WorkflowRemediationCheckpoint
impl UnwindSafe for WorkflowRemediationCheckpoint
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