pub struct ExecutionEngine { /* private fields */ }Expand description
Simple execution engine
Implementations§
Source§impl ExecutionEngine
impl ExecutionEngine
Sourcepub fn with_config(config: ExecutionConfig) -> Self
pub fn with_config(config: ExecutionConfig) -> Self
Create a new execution engine with custom configuration
Sourcepub async fn execute(
&self,
graph: &WorkflowGraph,
state: GraphState,
) -> RGraphResult<ExecutionResults>
pub async fn execute( &self, graph: &WorkflowGraph, state: GraphState, ) -> RGraphResult<ExecutionResults>
Execute a workflow graph
Trait Implementations§
Source§impl Clone for ExecutionEngine
impl Clone for ExecutionEngine
Source§fn clone(&self) -> ExecutionEngine
fn clone(&self) -> ExecutionEngine
Returns a duplicate of the value. Read more
1.0.0 · 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 ExecutionEngine
impl Debug for ExecutionEngine
Auto Trait Implementations§
impl Freeze for ExecutionEngine
impl RefUnwindSafe for ExecutionEngine
impl Send for ExecutionEngine
impl Sync for ExecutionEngine
impl Unpin for ExecutionEngine
impl UnwindSafe for ExecutionEngine
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