Module router

Source

Structs§

ConnectionContext
Context bound to a connection for authorization and audit.
HeartbeatEntry 🔒
HeartbeatTracker
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).
RequestCancellation
Request-scoped cancellation state for cooperative cancellation.
RequestContext 🔒
TokenBucket 🔒
Simple token bucket for rate limiting.

Statics§

IPC_REQUEST_CONTEXT 🔒

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 fut with a request cancellation context installed.