fn check_bucket( table: &Mutex<HashMap<IpAddr, (Instant, f64)>>, client: IpAddr, rate: f64, burst: f64, ) -> Result