Expand description
The behavioural surface of an element.
Element is declarative; ElementRuntime is behavioural. The
executor pairs each element with a concrete ElementRuntime
implementation (via ElementRuntimeRegistry) at execution time and
calls into this trait to materialize, observe, and tear down
resources.
The trait uses the async_trait attribute pending stable
async-fn-in-dyn-trait (SRD-0007 D19). All implementations live in
the hyperplane tier; paramodel defines the trait shape.
Structs§
- Materialization
Outputs - Typed values an element publishes after materialization. Keyed by
result_parametersnames; consumed by downstream elements that reference the export via tokens. - Resolved
Configuration - Fully-interpolated configuration values handed to
ElementRuntime::materialize. Every entry is a concreteValue; all tokens have been resolved. - Trial
Context - Read-only trial context passed to
ElementRuntimelifecycle hooks.
Traits§
- Element
Runtime - The async behavioural surface of an element.
- Element
Runtime Registry - Host-provided service pairing each
Elementdeclaration with a concreteElementRuntime. Dispatch is typically on the element’stypelabel. - State
Observation - Handle returned by
ElementRuntime::observe_state. CallingSelf::cancelremoves the listener.
Type Aliases§
- State
Transition Listener - Listener callback for
ElementRuntime::observe_state.