pub struct SubWorkflowStep { /* private fields */ }Expand description
A step that executes an entire workflow as a sub-workflow
Implementations§
Trait Implementations§
Source§impl Step for SubWorkflowStep
impl Step for SubWorkflowStep
Source§fn execute_with_context<'life0, 'life1, 'async_trait>(
&'life0 self,
input: StepInput,
_ctx: ExecutionContext<'life1>,
) -> Pin<Box<dyn Future<Output = StepResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute_with_context<'life0, 'life1, 'async_trait>(
&'life0 self,
input: StepInput,
_ctx: ExecutionContext<'life1>,
) -> Pin<Box<dyn Future<Output = StepResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute with execution context (for event streaming, etc.)
Source§fn execute<'life0, 'async_trait>(
&'life0 self,
input: StepInput,
) -> Pin<Box<dyn Future<Output = StepResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
&'life0 self,
input: StepInput,
) -> Pin<Box<dyn Future<Output = StepResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute the step with the given input
Source§fn description(&self) -> Option<&str>
fn description(&self) -> Option<&str>
Optional: Get a description of what this step does
Source§fn get_sub_workflow(&self) -> Option<Workflow>
fn get_sub_workflow(&self) -> Option<Workflow>
For sub-workflow steps: get the workflow
Auto Trait Implementations§
impl Freeze for SubWorkflowStep
impl !RefUnwindSafe for SubWorkflowStep
impl Send for SubWorkflowStep
impl Sync for SubWorkflowStep
impl Unpin for SubWorkflowStep
impl !UnwindSafe for SubWorkflowStep
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