Skip to main content

check_bucket

Function check_bucket 

Source
fn check_bucket<K>(
    table: &Mutex<HashMap<K, (Instant, f64)>>,
    key: K,
    rate: f64,
    burst: f64,
) -> Result
where K: Eq + Hash,