pub struct Flow { /* private fields */ }
Expand description
Represents a flow that can be executed
Implementations§
Source§impl Flow
impl Flow
Sourcepub async fn execute(self) -> Result<FlowContext>
pub async fn execute(self) -> Result<FlowContext>
Execute the flow with a default context
Sourcepub async fn execute_with_context(
self,
context: FlowContext,
) -> Result<FlowContext>
pub async fn execute_with_context( self, context: FlowContext, ) -> Result<FlowContext>
Execute the flow with a custom context
Auto Trait Implementations§
impl Freeze for Flow
impl !RefUnwindSafe for Flow
impl Send for Flow
impl !Sync for Flow
impl Unpin for Flow
impl !UnwindSafe for Flow
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