pub trait NodeFactory: Send + Sync { // Required methods fn node_type(&self) -> &str; fn create(&self, config: &Value) -> Result<Box<dyn Node>>; }
A node factory that creates node instances from configuration.
Get the node type name this factory creates.
Create a new node instance from YAML configuration.