Skip to main content

Module action

Module action 

Source
Expand description

action

Purpose:

  • Define kernel action primitive types, manifests, validation errors, and registry helpers.

Owns:

  • ActionValidationError as the typed registration failure surface for action primitives.
  • Action type metadata and registry-facing action declarations.

Does not own:

  • Catalog-level wrapper errors or host-facing diagnostics.
  • Runtime execution/orchestration semantics outside action registration.

Connects to:

  • catalog.rs, which wraps action registration failures.
  • Action implementations under implementations/.

Safety notes:

  • Display uses the ErrorInfo authority so action rule ids and summaries do not drift from the kernel meaning they already own.

Re-exports§

pub use implementations::AckAction;
pub use implementations::AnnotateAction;
pub use implementations::ContextSetBoolAction;
pub use implementations::ContextSetNumberAction;
pub use implementations::ContextSetSeriesAction;
pub use implementations::ContextSetStringAction;
pub use registry::ActionRegistry;

Modules§

implementations
registry

Structs§

ActionEffects
ActionPrimitiveManifest
ActionState
ActionWriteSpec
ExecutionSpec
InputSpec
IntentFieldSpec
IntentMirrorWriteSpec
IntentSpec
OutputSpec
ParameterSpec
StateSpec

Enums§

ActionKind
ActionOutcome
ActionValidationError
ActionValue
ActionValueType
Cardinality
ParameterType
ParameterValue

Traits§

ActionPrimitive
An action primitive that performs effects keyed by inputs and parameters.