Skip to main content

Crate appcore_types

Crate appcore_types 

Source
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.
CapabilityDescriptor
Generic capability advertised by a distributed Core.
CapabilityName
Generic capability name exposed by a Core.
CapabilityRequirements
Generic execution requirements used by routing policy.
ClusterId
Cluster identifier inside a tenant.
CommandName
Stable command name (for example: runtime.start).
CoreCompatibilityPolicy
Compatibility policy for peer-to-peer or routed operations.
CoreId
Stable identifier for a logical Core.
CoreIdentity
Distributed identity for a running AppCore instance.
CoreKind
Generic category for a Core. Custom values are accepted when they pass identifier validation.
DistributedCoreManifest
Internal structured manifest used to assemble distributed peer state.
EventName
Stable event name (for example: RuntimeStarted).
InstanceId
Unique identifier for a running Core instance.
NodeId
Unique node identifier in a runtime cluster.
PeerEndpoint
Network endpoint a peer can advertise. Secrets and bearer tokens do not belong here.
ProtocolVersion
Wire protocol version used by distributed AppCore peers.
QueryName
Stable query name (for example: runtime.status).
RuntimeContractVersion
Public runtime contract version declared by an app/plugin.
RuntimeIdentity
Runtime identity shared by nodes of the same application/runtime contract.
StateName
Stable state name (for example: Running).
SyncGroup
Sync isolation group (for example: dev, staging, production).
TenantId
Tenant isolation identifier for distributed AppCore deployments.
TraceContext
Correlation context propagated across distributed Runtime boundaries.

Enums§

CapabilityMode
Invocation mode for a generic capability.
CapabilityVisibility
Network scope in which a capability may be resolved.
CompatibilityStatus
Compatibility result for two runtime identities.
CoreCompatibilityStatus
Compatibility result for distributed Core identities.
RuntimeError
Standard runtime error categories.
RuntimeOperationalMode
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§

RuntimeResult
Result alias for runtime contract methods.