pub enum Gate {
Pass,
Fail {
critique: String,
policy: OnFail,
},
Park {
question: String,
},
}Expand description
An evaluator’s decision on a node.
Variants§
Pass
The node passes; the graph advances.
Fail
The node fails; on_fail runs with this critique.
Park
A human evaluator with no input yet — park for the user.
Auto Trait Implementations§
impl Freeze for Gate
impl RefUnwindSafe for Gate
impl Send for Gate
impl Sync for Gate
impl Unpin for Gate
impl UnsafeUnpin for Gate
impl UnwindSafe for Gate
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