pub enum AgentInterrupt {
HumanInLoop(HitlInterrupt),
}
Expand description
Represents an interrupt in agent execution requiring human intervention.
Variants§
HumanInLoop(HitlInterrupt)
Human-in-the-loop approval required for tool execution
Trait Implementations§
Source§impl Clone for AgentInterrupt
impl Clone for AgentInterrupt
Source§fn clone(&self) -> AgentInterrupt
fn clone(&self) -> AgentInterrupt
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 AgentInterrupt
impl Debug for AgentInterrupt
Source§impl<'de> Deserialize<'de> for AgentInterrupt
impl<'de> Deserialize<'de> for AgentInterrupt
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
Source§impl PartialEq for AgentInterrupt
impl PartialEq for AgentInterrupt
Source§impl Serialize for AgentInterrupt
impl Serialize for AgentInterrupt
impl StructuralPartialEq for AgentInterrupt
Auto Trait Implementations§
impl Freeze for AgentInterrupt
impl RefUnwindSafe for AgentInterrupt
impl Send for AgentInterrupt
impl Sync for AgentInterrupt
impl Unpin for AgentInterrupt
impl UnwindSafe for AgentInterrupt
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