/// Create am empty rate limiter
///
/// `cap` is the number of total tokens available
///
/// `period` is how long it'll take to refill all of the tokens
///
/// This will block, at first, atleast one `period` until its filled
Create am empty rate limiter
`cap` is the number of total tokens available

`period` is how long it'll take to refill all of the tokens

This will block, at first, atleast one `period` until its filled
Create am empty rate limiter ` cap ` is the number of total tokens available ` period ` is how long it ' ll take to refill all of the tokens This will block at first atleast one ` period ` until its filled
pub fn empty(cap: u64, period: Duration) -> Self {
        Self {
            cap,
            bucket: Bucket::new(cap, 0, period),
        }
    }
pub fn empty ( cap : u64 , period : Duration ) -> Self { Self { cap , bucket : Bucket :: new ( cap , 0 , period ) , } }
Create am empty rate limiter
`cap` is the number of total tokens available
Create am empty rate limiter ` cap ` is the number of total tokens available
cap
u64
period
Duration