Skip to main content

Crate appcore_capabilities

Crate appcore_capabilities 

Source
Expand description

Generic capability registry and resolver.

This crate routes capability requests. It intentionally does not know SQL, schemas, customer data, or business rules.

Structs§

CapabilityCatalog
Immutable-source catalog of capability descriptors composed by a host.
CapabilityEnforcementContext
Runtime context used to authorize one local capability invocation.
CapabilityRegistry
In-process registry of local capability handlers.
CapabilityRequest
Transport-neutral request for a named runtime capability.
CapabilityResolver
Resolves local and discovered providers and enforces capability requirements.
CapabilityResponse
Transport-neutral result of a capability invocation.
DefaultCapabilitySelectionPolicy
Deterministic selector that applies locality and discovery preference flags.
LocalCapabilityProvider
Registered local capability descriptor and its handler.
PeerRpcRemoteCapabilityInvoker
Remote capability invoker backed by the stable peer RPC client contract.
ResolutionPolicy
Basic locality policy used by the default provider selector.

Enums§

CapabilityError
Failures produced while registering, resolving, or invoking a capability.
CapabilityProvider
A local or discovered remote provider selected for a capability.

Traits§

CapabilitySelectionPolicy
Pluggable policy for selecting one provider from compatible candidates.
LocalCapabilityHandler
Application-provided implementation of a capability hosted in this process.
RemoteCapabilityInvoker
Adapter used to invoke a capability hosted by a remote runtime peer.

Functions§

requirements_for_read_only
Returns the standard requirements for a side-effect-free capability.

Type Aliases§

CapabilityResult
Result returned by capability registry, resolution, and invocation operations.