pub struct EnhancedFlowOrchestrator { /* private fields */ }Expand description
增强的流程编排器
Implementations§
Source§impl EnhancedFlowOrchestrator
impl EnhancedFlowOrchestrator
Sourcepub fn with_config(config: OrchestratorConfig) -> Self
pub fn with_config(config: OrchestratorConfig) -> Self
使用配置创建编排器
Sourcepub fn create_execution_plan(
&self,
nodes: Vec<ExecutionNode>,
env_vars: HashMap<String, Value>,
flow_vars: HashMap<String, Value>,
workflow_name: String,
workflow_version: String,
) -> Result<ExecutionPlan>
pub fn create_execution_plan( &self, nodes: Vec<ExecutionNode>, env_vars: HashMap<String, Value>, flow_vars: HashMap<String, Value>, workflow_name: String, workflow_version: String, ) -> Result<ExecutionPlan>
从节点列表创建执行计划
Sourcepub fn analyze_complexity(&self, plan: &ExecutionPlan) -> ExecutionComplexity
pub fn analyze_complexity(&self, plan: &ExecutionPlan) -> ExecutionComplexity
分析执行计划的复杂度
Trait Implementations§
Source§impl Default for EnhancedFlowOrchestrator
impl Default for EnhancedFlowOrchestrator
Source§impl FlowPlanner for EnhancedFlowOrchestrator
impl FlowPlanner for EnhancedFlowOrchestrator
Auto Trait Implementations§
impl Freeze for EnhancedFlowOrchestrator
impl RefUnwindSafe for EnhancedFlowOrchestrator
impl Send for EnhancedFlowOrchestrator
impl Sync for EnhancedFlowOrchestrator
impl Unpin for EnhancedFlowOrchestrator
impl UnwindSafe for EnhancedFlowOrchestrator
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