Module rate_limit
Expand description
Rate-limiting subscription opens on the session bindings
(docs/design/subscriptions-websocket.md §6.7): the seam WebSocket and
WebTransport call, implemented by cratestack-axum’s
SubscriptionRateLimiter over OpExecutor::admit_rate_limit. One token
per subscription Request; the session itself is not charged.
Structs§
- Session
Charger - One session’s standing answer to “who pays”: built once per session and cloned into every subscription task. With no limiter it admits everything.
- Subscription
Charge - What a binding knows about one subscription open.
Enums§
- Subscription
Refusal - Why an open was refused before
Ready.
Traits§
- Subscription
Rate Limit - Charges one subscription open.
Debugso binding configs keep deriving it.