Expand description
Foundational, implementation-independent AppCore Runtime types.
This crate owns generic identity, manifest, tracing, operational-mode and error contracts shared by Runtime implementations and versioned wire crates.
Structs§
- AppFamily
- Family/group identifier for compatible applications.
- AppId
- Unique identifier for an application.
- Capability
Descriptor - Generic capability advertised by a distributed Core.
- Capability
Name - Generic capability name exposed by a Core.
- Capability
Requirements - Generic execution requirements used by routing policy.
- Cluster
Id - Cluster identifier inside a tenant.
- Command
Name - Stable command name (for example: runtime.start).
- Core
Compatibility Policy - Compatibility policy for peer-to-peer or routed operations.
- CoreId
- Stable identifier for a logical Core.
- Core
Identity - Distributed identity for a running
AppCoreinstance. - Core
Kind - Generic category for a Core. Custom values are accepted when they pass identifier validation.
- Distributed
Core Manifest - Internal structured manifest used to assemble distributed peer state.
- Event
Name - Stable event name (for example:
RuntimeStarted). - Instance
Id - Unique identifier for a running Core instance.
- NodeId
- Unique node identifier in a runtime cluster.
- Peer
Endpoint - Network endpoint a peer can advertise. Secrets and bearer tokens do not belong here.
- Protocol
Version - Wire protocol version used by distributed
AppCorepeers. - Query
Name - Stable query name (for example: runtime.status).
- Runtime
Contract Version - Public runtime contract version declared by an app/plugin.
- Runtime
Identity - Runtime identity shared by nodes of the same application/runtime contract.
- State
Name - Stable state name (for example: Running).
- Sync
Group - Sync isolation group (for example: dev, staging, production).
- Tenant
Id - Tenant isolation identifier for distributed
AppCoredeployments. - Trace
Context - Correlation context propagated across distributed Runtime boundaries.
Enums§
- Capability
Mode - Invocation mode for a generic capability.
- Capability
Visibility - Network scope in which a capability may be resolved.
- Compatibility
Status - Compatibility result for two runtime identities.
- Core
Compatibility Status - Compatibility result for distributed Core identities.
- Runtime
Error - Standard runtime error categories.
- Runtime
Operational Mode - Operational state relevant to routing and scheduling decisions.
Functions§
- validate_
distributed_ identifier - Validates the stricter lowercase identifier used for distributed boundaries.
- validate_
identifier - Validates a generic Runtime identifier.
Type Aliases§
- Runtime
Result - Result alias for runtime contract methods.