pub trait NodeExecutorRegistry: Sync {
type Executor: NodeExecutor + ?Sized;
// Required method
fn executor_for(&self, node_id: &NodeId) -> Result<&Self::Executor>;
}Expand description
Registry that resolves workflow nodes to runtime executors.
The registry owns node-to-executor selection while the workflow runner owns graph wiring, cancellation, lifecycle, and metadata behavior.
Required Associated Types§
Sourcetype Executor: NodeExecutor + ?Sized
type Executor: NodeExecutor + ?Sized
Concrete executor type returned for nodes in this registry.