Skip to main content

Crate boxology_runtime

Crate boxology_runtime 

Source
Expand description

Composition-owned runtime handles for invoking Boxology capabilities.

Import handles are created before composition assembly finishes, then sealed to their resolved targets by the runtime. Generated adapters receive only the public lookup and call surface. Assembly failures are reported through ordered, payload-free diagnostics.

Structs§

AssemblyErrors
A nonempty, ordered collection of composition-assembly failures.
Composition
A successfully validated and activated composition.
CompositionBuilder
Builds and validates one composition without starting traffic.
ImportHandle
A lazy, composition-bound handle for one declared import slot.
ImportTarget
A selected target for one declared import slot.
Imports
The import handles declared by one box implementation.
LocalBinding
A production in-process binding that can be passed directly to a generated handle.
RegisteredBox
One box registered in a composition draft.
TransportExposure
One capability exposed through a transport binding.
TransportRuntime
Per-binding state whose activation gate commits startup, not call cancellation.

Enums§

AssemblyError
One deterministic composition-assembly validation failure.

Traits§

RemoteImportTarget
A configured remote target that can prove which exact capabilities it supports.
TransportBinding
A configured transport lifecycle participating in composition startup. Conformance is repeatable and non-authorizing. Preparation only preflights the complete descriptor set. Startup stays closed until activation and an error leaves no live intake, task, resource, or handle requiring cleanup.
TransportHandle
Synchronous lifecycle controls; dropping a handle has no defined behavior.

Type Aliases§

TransportJoinFuture
A payload-safe completion future for every task owned by one transport.
TransportTaskTracker
The composition-owned task tracker shared with every transport binding.