Module engine

Module engine 

Source
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§

ConnRateLimiter
Per-connection token bucket (no mutex).
TenantPolicyRuntime
Tenant-scoped policy runtime. Construct once at startup, then share via Arc.

Enums§

HotErrorMode
OnExceed
PolicyDecision
Decision from policy evaluation.
SessionMode