Skip to main content

Module accounting

Module accounting 

Source
Expand description

Hierarchical count/byte admission with exact RAII ownership.

Structs§

LimitError
Reservation
Exact ownership of one admitted amount. Moving the value transfers ownership; dropping it releases every scope exactly once.
ResourceLedger
One process or VM accounting scope. A child ledger reserves its parent first, so aggregate process policy and tenant policy cover the same allocation.
ResourceLimit
ResourceUsage
SharedReservation
Cloneable ownership used when a charged payload crosses an in-process response router. The underlying reservation releases only after the final envelope/consumer drops it.

Enums§

ResourceClass
Low-cardinality resource classes used by the sidecar admission policy.