Skip to main content

Module quota

Module quota 

Source
Expand description

QuotaReductionPolicy — what to do when a parent’s quota reduction would drop below current child aggregate usage.

Default Reject — explicit opt-in is required for destructive policies. apply_quota_reduction is the standalone deterministic algorithm; parent-child wiring at Kernel::create_instance time composes around it.

Enums§

QuotaReductionError
Failure mode for apply_quota_reduction under QuotaReductionPolicy::Reject.
QuotaReductionPolicy
What to do when a parent’s quota reduction would drop below the aggregate usage of its children. Default: Reject.

Functions§

apply_quota_reduction
Compute each child’s new quota under policy against new_quota.