Skip to main content

CycleDispatcher

Trait CycleDispatcher 

Source
pub trait CycleDispatcher: Send + Sync {
    // Required method
    fn dispatch_cycle(
        &self,
        task: &AgentTask,
        recipe: &RuntimeRecipe,
        cycle_name: &str,
        cycle_index: u32,
    ) -> Result<CycleDispatchResult, String>;
}

Required Methods§

Source

fn dispatch_cycle( &self, task: &AgentTask, recipe: &RuntimeRecipe, cycle_name: &str, cycle_index: u32, ) -> Result<CycleDispatchResult, String>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§