Skip to main content

validate_rate_limit_request

Function validate_rate_limit_request 

Source
pub fn validate_rate_limit_request(
    policy_key: &str,
    bucket_key: &str,
    maximum: usize,
    window_seconds: u64,
) -> Result<(), DatabaseError>
Expand description

Enforces the same bounded security keys before any adapter touches storage.