Skip to main content

Module live_quota

Module live_quota 

Source
Expand description

Live quota snapshot types — the v2 signal #3 data source for QuotaTracker (RFC-031 v2 §4).

These types live in the kernel crate so QuotaTracker can use them without taking a dependency on the binary crate’s crate::api::quota module (AGENTS.md §10: “Star topology, no circular deps”). The binary crate implements QuotaFetcher for each provider and reuses these types directly via oxios_kernel::token_maxing::live_quota::*.

Structs§

QuotaSnapshot
Snapshot of a provider account’s quota/balance state.
RateWindow
A rate-limit / quota window with optional reset time.

Enums§

PlanType
Billing-model classification returned by a provider’s quota API.

Traits§

QuotaFetcher
Fetches account-level quota/balance from a provider’s API.