pub trait WorkflowExecutionHooks {
// Required methods
fn execute_subagent<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
ctx: WorkflowDispatchRun<'life1>,
node: &'life2 SubagentNode,
resolved_prompt: String,
) -> Pin<Box<dyn Future<Output = Result<WorkflowDispatchOutcome>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn execute_host_executor<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
ctx: WorkflowDispatchRun<'life1>,
node: &'life2 HostExecutorNode,
resolved_input: Value,
) -> Pin<Box<dyn Future<Output = Result<WorkflowDispatchOutcome>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Required Methods§
fn execute_subagent<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
ctx: WorkflowDispatchRun<'life1>,
node: &'life2 SubagentNode,
resolved_prompt: String,
) -> Pin<Box<dyn Future<Output = Result<WorkflowDispatchOutcome>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn execute_host_executor<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
ctx: WorkflowDispatchRun<'life1>,
node: &'life2 HostExecutorNode,
resolved_input: Value,
) -> Pin<Box<dyn Future<Output = Result<WorkflowDispatchOutcome>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".