pub enum LoopControl {
Stop,
}Expand description
Agent-requested loop control written by the stop_loop tool and read by
the TUI loop arbiter between turns. Lets the agent end the event-driven
loop itself (so the user can say “stop” in natural language and the agent
calls stop_loop), making the loop lifecycle transparent to the user.
Variants§
Stop
Stop the loop after the current turn and return to interactive mode.
Trait Implementations§
Source§impl Clone for LoopControl
impl Clone for LoopControl
impl Copy for LoopControl
Source§impl Debug for LoopControl
impl Debug for LoopControl
impl Eq for LoopControl
Source§impl PartialEq for LoopControl
impl PartialEq for LoopControl
impl StructuralPartialEq for LoopControl
Auto Trait Implementations§
impl Freeze for LoopControl
impl RefUnwindSafe for LoopControl
impl Send for LoopControl
impl Sync for LoopControl
impl Unpin for LoopControl
impl UnsafeUnpin for LoopControl
impl UnwindSafe for LoopControl
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,
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.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.