pub enum OnFail {
LoopBack {
node: String,
critique: Option<String>,
},
LoopWith {
node: String,
},
Fixer,
Replan,
}Expand description
A parsed failure policy (CONTEXT.md §10 on_fail).
Variants§
LoopBack
Re-run node, feeding it the critique artifact at critique (if given).
LoopWith
Re-run node together with this evaluator.
Fixer
Route the failure to a fixer step.
Replan
Ask the conductor to amend the DAG.
Trait Implementations§
impl Eq for OnFail
impl StructuralPartialEq for OnFail
Auto Trait Implementations§
impl Freeze for OnFail
impl RefUnwindSafe for OnFail
impl Send for OnFail
impl Sync for OnFail
impl Unpin for OnFail
impl UnsafeUnpin for OnFail
impl UnwindSafe for OnFail
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