Structs§
- Connection
Context - Context bound to a connection for authorization and audit.
- Heartbeat
Entry 🔒 - Heartbeat
Tracker - Tracks connection heartbeats and terminates associated processes when liveness timeouts are exceeded.
- IpcRouter
- A simple in-memory router that registers connections, authorizes requests, and returns a canned ‘not implemented’ response for authorized calls.
- RateKey 🔒
- Key for rate limiting (connection, service, method).
- Request
Cancellation - Request-scoped cancellation state for cooperative cancellation.
- Request
Context 🔒 - Token
Bucket 🔒 - Simple token bucket for rate limiting.
Statics§
Traits§
- Router
- Central router interface responsible for:
Functions§
- is_
cancelled - Returns true if the current task is executing within an IPC request and has been cancelled.
- scope_
request_ cancellation - Run
futwith a request cancellation context installed.