pub enum AgentExecutionDecision {
Continue,
Suspend {
reason: String,
},
}Expand description
Decision returned by an execution checkpoint handler.
Variants§
Trait Implementations§
Source§impl Clone for AgentExecutionDecision
impl Clone for AgentExecutionDecision
Source§fn clone(&self) -> AgentExecutionDecision
fn clone(&self) -> AgentExecutionDecision
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 AgentExecutionDecision
impl Debug for AgentExecutionDecision
Source§impl<'de> Deserialize<'de> for AgentExecutionDecision
impl<'de> Deserialize<'de> for AgentExecutionDecision
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 AgentExecutionDecision
Source§impl PartialEq for AgentExecutionDecision
impl PartialEq for AgentExecutionDecision
Source§fn eq(&self, other: &AgentExecutionDecision) -> bool
fn eq(&self, other: &AgentExecutionDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentExecutionDecision
impl Serialize for AgentExecutionDecision
impl StructuralPartialEq for AgentExecutionDecision
Auto Trait Implementations§
impl Freeze for AgentExecutionDecision
impl RefUnwindSafe for AgentExecutionDecision
impl Send for AgentExecutionDecision
impl Sync for AgentExecutionDecision
impl Unpin for AgentExecutionDecision
impl UnsafeUnpin for AgentExecutionDecision
impl UnwindSafe for AgentExecutionDecision
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