pub struct DirectAgentExecutor;Expand description
Direct in-process executor that always continues.
Trait Implementations§
Source§impl AgentExecutor for DirectAgentExecutor
impl AgentExecutor for DirectAgentExecutor
Source§fn checkpoint<'life0, 'async_trait>(
&'life0 self,
_checkpoint: AgentCheckpoint,
) -> Pin<Box<dyn Future<Output = Result<AgentExecutionDecision, AgentExecutorError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn checkpoint<'life0, 'async_trait>(
&'life0 self,
_checkpoint: AgentCheckpoint,
) -> Pin<Box<dyn Future<Output = Result<AgentExecutionDecision, AgentExecutorError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Persist or inspect a checkpoint and decide whether execution should continue.
Source§impl Clone for DirectAgentExecutor
impl Clone for DirectAgentExecutor
Source§fn clone(&self) -> DirectAgentExecutor
fn clone(&self) -> DirectAgentExecutor
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 DirectAgentExecutor
impl Debug for DirectAgentExecutor
Source§impl Default for DirectAgentExecutor
impl Default for DirectAgentExecutor
Source§fn default() -> DirectAgentExecutor
fn default() -> DirectAgentExecutor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DirectAgentExecutor
impl RefUnwindSafe for DirectAgentExecutor
impl Send for DirectAgentExecutor
impl Sync for DirectAgentExecutor
impl Unpin for DirectAgentExecutor
impl UnsafeUnpin for DirectAgentExecutor
impl UnwindSafe for DirectAgentExecutor
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