Expand description
Process-owned trusted runtime services.
Production sidecars construct exactly one SidecarRuntime at their
process entrypoint. Subsystems receive a clone of RuntimeContext; they
never construct Tokio runtimes of their own.
Re-exports§
pub use supervision::TaskClass;pub use supervision::TaskClassSnapshot;pub use supervision::TaskOwner;pub use supervision::TaskSpawnError;pub use supervision::TaskSupervisor;pub use supervision::TaskTerminalReason;pub use supervision::TaskTerminalReport;
Modules§
- accounting
- Hierarchical count/byte admission with exact RAII ownership.
- capability
- One generation-aware registry for native and kernel-backed capabilities.
- fairness
- Deterministic hierarchical deficit round robin for VM-owned capabilities.
- metrics
- Fixed-cardinality runtime telemetry and bounded stderr fallback formatting.
- readiness
- Durable, revisioned per-VM readiness with a capacity-one wake lane.
- supervision
- Bounded task ownership, terminal accounting, and owner notification.
Structs§
- Blocking
Executor - Runtime
Build Error - Runtime
Config - Runtime
Context - Runtime
Fairness Config - Runtime
Protocol Config - Process-owned bounds for the multiplexed sidecar transport.
- Runtime
Resource Config - Sidecar
Runtime
Enums§
Constants§
- DEFAULT_
PROTOCOL_ MAX_ COMPLETED_ RESPONSES - DEFAULT_
PROTOCOL_ MAX_ CONTROL_ BYTES - DEFAULT_
PROTOCOL_ MAX_ CONTROL_ FRAMES - DEFAULT_
PROTOCOL_ MAX_ EGRESS_ BYTES - DEFAULT_
PROTOCOL_ MAX_ EGRESS_ FRAMES - DEFAULT_
PROTOCOL_ MAX_ INGRESS_ BYTES - DEFAULT_
PROTOCOL_ MAX_ INGRESS_ FRAMES - DEFAULT_
PROTOCOL_ MAX_ IN_ FLIGHT_ REQUESTS - DEFAULT_
PROTOCOL_ MAX_ IN_ FLIGHT_ REQUEST_ BYTES - DEFAULT_
PROTOCOL_ MAX_ OUTBOUND_ REQUESTS - DEFAULT_
PROTOCOL_ MAX_ PENDING_ RESPONSES - DEFAULT_
PROTOCOL_ MAX_ PENDING_ RESPONSE_ BYTES - DEFAULT_
PROTOCOL_ MAX_ PROCESS_ EVENTS - DEFAULT_
PROTOCOL_ MAX_ PROGRESS_ BYTES - DEFAULT_
PROTOCOL_ MAX_ PROGRESS_ FRAMES - DEFAULT_
PROTOCOL_ MAX_ REJECTION_ BYTES - DEFAULT_
PROTOCOL_ MAX_ REJECTION_ FRAMES - DEFAULT_
PROTOCOL_ MAX_ SESSIONS_ PER_ CONNECTION - DEFAULT_
PROTOCOL_ MAX_ TERMINAL_ BYTES - DEFAULT_
PROTOCOL_ MAX_ TERMINAL_ FRAMES - DEFAULT_
PROTOCOL_ SHUTDOWN_ GRACE_ TIMEOUT_ MS - DEFAULT_
PROTOCOL_ TERMINAL_ FALLBACK_ BYTES
Functions§
- is_
runtime_ worker_ thread - Whether the current OS thread is one of the process runtime’s fixed workers.