pub enum LoopFinishReason {
MaxIterationsReached,
ConsecutiveFailures,
ExternalStop,
FatalError,
}Expand description
Reason a long-running iteration-mode agent stopped.
Variants§
MaxIterationsReached
Hit max_iterations from config.
ConsecutiveFailures
Hit halt_on_consecutive_failures.
ExternalStop
External stop signal (user, supervisor, SIGTERM).
FatalError
Runtime error that the agent could not recover from.
Trait Implementations§
Source§impl Clone for LoopFinishReason
impl Clone for LoopFinishReason
Source§fn clone(&self) -> LoopFinishReason
fn clone(&self) -> LoopFinishReason
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 Debug for LoopFinishReason
impl Debug for LoopFinishReason
Source§impl<'de> Deserialize<'de> for LoopFinishReason
impl<'de> Deserialize<'de> for LoopFinishReason
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 Eq for LoopFinishReason
Source§impl PartialEq for LoopFinishReason
impl PartialEq for LoopFinishReason
Source§impl Serialize for LoopFinishReason
impl Serialize for LoopFinishReason
impl StructuralPartialEq for LoopFinishReason
Auto Trait Implementations§
impl Freeze for LoopFinishReason
impl RefUnwindSafe for LoopFinishReason
impl Send for LoopFinishReason
impl Sync for LoopFinishReason
impl Unpin for LoopFinishReason
impl UnsafeUnpin for LoopFinishReason
impl UnwindSafe for LoopFinishReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.