pub enum StopDecision {
Continue,
Stop,
StopWithReason(String),
}Expand description
Decision returned by a stop condition callback.
Variants§
Continue
Continue the tool loop normally.
Stop
Stop the loop immediately, using the current response as final.
StopWithReason(String)
Stop the loop with a reason (for observability/debugging).
Trait Implementations§
Source§impl Clone for StopDecision
impl Clone for StopDecision
Source§fn clone(&self) -> StopDecision
fn clone(&self) -> StopDecision
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StopDecision
impl Debug for StopDecision
Source§impl PartialEq for StopDecision
impl PartialEq for StopDecision
impl Eq for StopDecision
impl StructuralPartialEq for StopDecision
Auto Trait Implementations§
impl Freeze for StopDecision
impl RefUnwindSafe for StopDecision
impl Send for StopDecision
impl Sync for StopDecision
impl Unpin for StopDecision
impl UnwindSafe for StopDecision
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