Expand description
Direct peer RPC contracts for private AppCore-to-AppCore calls.
Modules§
- v1
- Stable peer RPC wire contracts.
Structs§
- Bounded
Replay Store - Process-local TTL replay store with LRU ordering and fail-closed capacity.
- Cancellation
Token - Cloneable cooperative cancellation flag.
- File
Peer Nonce Store - Durable process-safe nonce store for Runtime instances sharing one volume.
- Hash
Token Peer Authenticator - Peer authenticator backed by AppCore’s signed local token provider.
- Hash
Token Peer Token Issuer - Token issuer backed by AppCore’s signed local token provider.
- InMemory
Peer Nonce Store - Bounded process-local nonce store used by embedded and test deployments.
- Peer
Advertisement V1 - Stable peer advertisement independent of internal core-manifest layout.
- Peer
Capability V1 - Generic capability advertised by a peer.
- Peer
Endpoint V1 - Public endpoint advertised by a peer.
- Peer
Health Response - Response returned by the peer health endpoint.
- Peer
Identity V1 - Identity fields carried by a V1 peer advertisement.
- Peer
Manifest Response - Response returned by the peer manifest endpoint.
- Peer
RpcClient - Authenticated client for stable peer query, command, and diagnostic endpoints.
- Peer
RpcClient Config - Runtime limits used by
PeerRpcClient. - Peer
RpcEnvelope - Authenticated peer request envelope.
- Peer
RpcHttp Host - HTTP host exposing the stable peer health, manifest, query, and command routes.
- Peer
RpcHttp Request - HTTP request emitted through a
PeerTransportProvider. - Peer
RpcHttp Response - Bounded response returned by a
PeerTransportProvider. - Peer
RpcHttp State - Shared immutable state used by the peer RPC HTTP router.
- Peer
RpcOutbound Request - Provider-neutral request passed to a peer client executor.
- Peer
RpcResponse - Response returned for a peer query or command.
- Peer
RpcRetry Policy - Retry limits and exponential backoff bounds for peer requests.
- Peer
RpcValidation Config - Validation limits and local identity expected by the peer RPC host.
- Peer
RpcValidator - Stateful validator for peer identity, protocol, expiry, integrity, and replay.
- Replay
Store Config - Capacity, TTL, and cleanup policy for a replay store.
- Replay
Store Metrics - Point-in-time replay-store metrics.
- StdPeer
RpcTransport - Bounded shared HTTP and HTTPS transport for peer RPC clients.
Enums§
- Peer
RpcCall Kind - Kind of direct peer call.
- Peer
RpcError - Provider-independent peer RPC failure.
Constants§
- PEER_
COMMAND_ PATH - Authenticated peer command endpoint.
- PEER_
HEALTH_ PATH - Public authenticated peer health endpoint.
- PEER_
MANIFEST_ PATH - Public authenticated peer manifest endpoint.
- PEER_
QUERY_ PATH - Authenticated peer query endpoint.
Traits§
- Peer
Nonce Store - Atomic replay protection used by
crate::PeerRpcValidator. - Peer
RpcAuthenticator - Validates credentials supplied to peer RPC endpoints.
- Peer
RpcClient Executor - Provider contract used to invoke a direct peer endpoint.
- Peer
RpcDispatcher - Host integration contract for application-owned peer query and command handling.
- Peer
RpcToken Issuer - Issues short-lived credentials bound to peer requests.
- Peer
Transport Provider - Peer transport provider used by RPC clients to reach a peer endpoint.
- Replay
Store - Replay protection with explicit cleanup and observable bounds.
Functions§
- envelope_
signing_ hash - Hash signed by peer bearer tokens. It binds routing metadata and payload integrity.
- payload_
hash - Returns the hexadecimal SHA-256 digest of an application payload.
- route_
for_ command - Returns the stable command endpoint path.
- route_
for_ query - Returns the stable query endpoint path.