pub struct EvolutionEngine { /* private fields */ }Expand description
Workflow evolution engine — health monitoring and optimization.
Implementations§
Source§impl EvolutionEngine
impl EvolutionEngine
pub fn new() -> Self
Sourcepub fn ingest(&mut self, fp: ExecutionFingerprint)
pub fn ingest(&mut self, fp: ExecutionFingerprint)
Ingest execution data.
Sourcepub fn health(&self, workflow_id: &str) -> WorkflowResult<WorkflowHealth>
pub fn health(&self, workflow_id: &str) -> WorkflowResult<WorkflowHealth>
Get workflow health score.
Sourcepub fn detect_drift(&self, workflow_id: &str) -> bool
pub fn detect_drift(&self, workflow_id: &str) -> bool
Detect performance drift (recent executions significantly slower).
Sourcepub fn suggest_optimizations(&self, workflow_id: &str) -> Vec<String>
pub fn suggest_optimizations(&self, workflow_id: &str) -> Vec<String>
Suggest optimizations.
Sourcepub fn outdated_steps(&self, workflow_id: &str) -> Vec<String>
pub fn outdated_steps(&self, workflow_id: &str) -> Vec<String>
Identify potentially outdated steps.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EvolutionEngine
impl RefUnwindSafe for EvolutionEngine
impl Send for EvolutionEngine
impl Sync for EvolutionEngine
impl Unpin for EvolutionEngine
impl UnsafeUnpin for EvolutionEngine
impl UnwindSafe for EvolutionEngine
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