Skip to main content

Module admission_controller

Module admission_controller 

Source
Expand description

Compatibility shim — the admission controller has moved to oxirs_core::sla::admission_controller.

The From<AdmissionError> for MultiTenancyError conversion stays here (rather than in oxirs-core) because MultiTenancyError is local to oxirs-vec and Rust’s orphan rule forbids implementing a foreign trait for a foreign error.

Structs§

AdmissionController
Thread-safe admission controller backed by per-tenant token buckets.

Enums§

AdmissionError
Errors returned by AdmissionController::try_admit.