pub struct DirectWorkflowAgentRunner;Trait Implementations§
Source§impl Debug for DirectWorkflowAgentRunner
impl Debug for DirectWorkflowAgentRunner
Source§impl Default for DirectWorkflowAgentRunner
impl Default for DirectWorkflowAgentRunner
Source§fn default() -> DirectWorkflowAgentRunner
fn default() -> DirectWorkflowAgentRunner
Returns the “default value” for a type. Read more
Source§impl WorkflowAgentRunner for DirectWorkflowAgentRunner
impl WorkflowAgentRunner for DirectWorkflowAgentRunner
fn run_agent<'life0, 'async_trait>(
&'life0 self,
default_provider: Arc<dyn AgentProvider>,
provider_override: Option<String>,
input: AgentProviderRunInput,
) -> Pin<Box<dyn Future<Output = Result<AgentProviderResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn retry_in_runtime(&self) -> bool
fn retry_in_runtime(&self) -> bool
Whether the workflow scheduler should wrap this runner’s
run_agent call
in the per-agent retry loop. Read morefn sleep<'life0, 'async_trait>(
&'life0 self,
duration_ms: u64,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for DirectWorkflowAgentRunner
impl RefUnwindSafe for DirectWorkflowAgentRunner
impl Send for DirectWorkflowAgentRunner
impl Sync for DirectWorkflowAgentRunner
impl Unpin for DirectWorkflowAgentRunner
impl UnsafeUnpin for DirectWorkflowAgentRunner
impl UnwindSafe for DirectWorkflowAgentRunner
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