Skip to main content

Module element

Module element 

Source
Expand description

The Element struct — anchor type of the whole system.

Element is the declarative shape that flows through plans, compilation, and persistence. Behaviour (materialize, dematerialize, observe state) lives in the ElementRuntime trait and is implemented in the hyperplane tier.

Construction uses bon::Builder: callers assemble field-by-field and call .build(), then run Element::validate against an ElementTypeDescriptorRegistry to enforce SRD-0007’s invariants (type label in registry, unique parameter names, config keys reference real parameters, namespace uniqueness across tiers, concurrency caps).

Structs§

Element
One element in the Element Graph.
ElementBuilder
Use builder syntax to set the inputs and finish with build().