Expand description
Two-tier plugin system: native Rust plugins (native) and scripted
plugins (script). Defines the Plugin trait — the contract every
graph node implements — and create_plugin, the single factory that
maps node-type strings from YAML config to plugin instances.
Modules§
- native
- Native (built-in) plugins implemented in Rust. Each submodule provides one
node type; instances are constructed by
crate::plugins::create_plugin. - resources
- Process-wide services shared by every plugin instance.
- script
- Scripted plugin host (
script). - util
- Shared utilities for plugins.
Structs§
- Plugin
Execution Error - An error that occurs during plugin execution. The context is preserved so the graph engine can route it through the error port.
- Plugin
Output - The result of a successful plugin execution.
Traits§
- Plugin
- Every plugin (native or scripted) implements this trait.
Functions§
- create_
plugin - Creates a plugin instance from a node type string and its YAML-derived config.
Type Aliases§
- Plugin
Result - The result of a plugin execution: either success or an error with the context preserved.