pub enum StuckDecision {
Nudge {
message: String,
},
Stop,
Ignore,
}Expand description
What to do when the stuck detector fires.
Variants§
Nudge
Tell the model it is repeating itself and keep going.
Stop
End the run with crate::RunStatus::Stuck.
Ignore
Not stuck (for example, deliberate polling). Keep going silently.
Trait Implementations§
Source§impl Clone for StuckDecision
impl Clone for StuckDecision
Source§impl Debug for StuckDecision
impl Debug for StuckDecision
Source§impl PartialEq for StuckDecision
impl PartialEq for StuckDecision
impl StructuralPartialEq for StuckDecision
Auto Trait Implementations§
impl Forget for StuckDecision
impl Freeze for StuckDecision
impl Move for StuckDecision
impl RefUnwindSafe for StuckDecision
impl Send for StuckDecisionwhere
RawVecInner: Send,
impl Sync for StuckDecisionwhere
RawVecInner: Sync,
impl Unpin for StuckDecision
impl UnsafeUnpin for StuckDecision
impl UnwindSafe for StuckDecisionwhere
RawVecInner: UnwindSafe,
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