Skip to main content

Module decorator

Module decorator 

Source
Expand description

Decorator plugin protocol.

Hosts extend Relon’s @name(...) syntax by implementing DecoratorPlugin and registering an instance under the decorator’s full dotted path name. The trait lives in relon-eval-api so any backend implementing crate::Evaluator can dispatch through it; the built-in decorators (#import, #schema, #ensure, …) and any host-side plugin live in their respective backend / host crates.

Enums§

PreEvalOutcome
The outcome of a decorator’s pre-evaluation hook.

Traits§

DecoratorPlugin
Hosts extend Relon’s @name(...) syntax by implementing this trait and registering an instance under the decorator’s full dotted path name (e.g. "import", "ensure.int", "my_org.audit").