Skip to main content

port_spec

Function port_spec 

Source
pub fn port_spec(plugin_type: &str) -> Option<&'static PortSpec>
Expand description

Static port declaration for a node type. None for unknown types.

This match is the port registry: sweep tasks add arms here as plugins gain outcome ports. Keep in sync with KNOWN_PLUGIN_TYPES (enforced by test_every_known_type_has_a_valid_spec).