Skip to main content

refill

Function refill 

Source
fn refill(
    last: Instant,
    tokens: f64,
    rate: f64,
    burst: f64,
    now: Instant,
) -> f64