Skip to main content

Module compatibility

Module compatibility 

Source
Expand description

Pure compiler for the directional value projections at a monomorphic middleware edge. Applying these plans, including disposal and stream relay, is a runtime responsibility.

Structs§

CaseProjection
CompiledCommandCompatibility
CompiledToolCompatibility
ErrorProjection
ProjectionPlan
RecordFieldProjection
ToolCompatibilityError
ToolCompatibilityWarning

Enums§

ProjectionNode
ToolCompatibilityMode

Traits§

ProjectionStreamHandler
Runtime-independent hooks needed while applying a projection. Streams are affine, so the evaluator transfers each retained stream to project_stream and every stream below a discarded value to discard_stream. On error, project_stream must dispose the stream it consumed.

Functions§

apply_projection
Applies a compiled directional projection, validating both boundary values.
compile_tool_compatibility
Compiles expected middleware-facing inputs to inner inputs and inner results/errors back to expected. Both descriptors are validated first.