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§
- Capability
Catalog - Immutable-source catalog of capability descriptors composed by a host.
- Capability
Enforcement Context - Runtime context used to authorize one local capability invocation.
- Capability
Registry - In-process registry of local capability handlers.
- Capability
Request - Transport-neutral request for a named runtime capability.
- Capability
Resolver - Resolves local and discovered providers and enforces capability requirements.
- Capability
Response - Transport-neutral result of a capability invocation.
- Default
Capability Selection Policy - Deterministic selector that applies locality and discovery preference flags.
- Local
Capability Provider - Registered local capability descriptor and its handler.
- Peer
RpcRemote Capability Invoker - Remote capability invoker backed by the stable peer RPC client contract.
- Resolution
Policy - Basic locality policy used by the default provider selector.
Enums§
- Capability
Error - Failures produced while registering, resolving, or invoking a capability.
- Capability
Provider - A local or discovered remote provider selected for a capability.
Traits§
- Capability
Selection Policy - Pluggable policy for selecting one provider from compatible candidates.
- Local
Capability Handler - Application-provided implementation of a capability hosted in this process.
- Remote
Capability Invoker - 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§
- Capability
Result - Result returned by capability registry, resolution, and invocation operations.