Skip to main content

Crate rustclamp_kernel

Crate rustclamp_kernel 

Source
Expand description

Typed capability resolution for Clamp applications.

Structs§

ApplicationBlueprint
A caller-owned application blueprint containing process roots and module relations.
CapabilityComposition
A caller-owned, single-capability composition snapshot.
CapabilityRequirement
One module’s requirement for a single typed capability.
CompositionError
A composition failure with stable identities and candidate context.
ConstructionCycle
A construction cycle with the repeated start module closing its path.
ConstructionDependency
A directed construction dependency from a module to a module it needs.
ConstructionGraph
A caller-owned set of construction dependencies for cycle validation.
ExcludedModule
An omitted module and its projection-specific exclusion reason.
FactoryProvision
A capability provision built on demand, for values whose construction can fail.
FrozenProcess
A structurally immutable projection produced at the composition freeze boundary.
IncludedModule
One reachable module and the deterministic path that made it reachable.
ProcessProjection
A derived process projection. Its private structure cannot be mutated.
Provision
A capability implementation associated with the module that supplies it.
QualifiedProvision
A capability provision distinguished by a compile-time qualifier type.
ResolvedContribution
A matching target contribution in the selected process projection.
ResolvedRequirement
A capability requirement and its selected provider in a process projection.
Resolver
Resolves one typed requirement from the provisions declared for it.
RuntimeProjection
Compact structural input for initializing a selected runtime.
SharedProvision
A capability value owned through an Arc, with no borrow to keep alive.
TargetComposition
Caller-owned declarations for one typed contribution target and qualifier.

Enums§

ComposeError
A mismatch between supplied contributions and the frozen process, or a target failure.
CompositionErrorKind
The structured category of a capability composition failure.
ExclusionReason
Why a declared module is absent from a process projection.
FactoryError
Why FrozenProcess::resolve_with failed.
InclusionReason
Why a module is included in a process projection.
ProjectionError
A structured failure while deriving a selected process projection.
ProviderSelection
How a resolved provider was selected for a requirement.
TargetCompositionError
A target-owned build failure or an unconsumed required declaration.