Expand description
Compiled policy runtime for a tenant.
Parses allowlists, enforces size/rate limits, and exposes connection-level limiters as needed by the transport layer.
Structs§
- Conn
Rate Limiter - Per-connection token bucket (no mutex).
- Tenant
Policy Runtime - Tenant-scoped policy runtime. Construct once at startup, then share via Arc.
Enums§
- HotError
Mode - OnExceed
- Policy
Decision - Decision from policy evaluation.
- Session
Mode