/// Create a new rate limiter that is pre-filled
///
/// `cap` is the number of total tokens available
///
/// `period` is how long it'll take to refill all of the tokens
Create a new rate limiter that is pre-filled
`cap` is the number of total tokens available

`period` is how long it'll take to refill all of the tokens
Create a new rate limiter that is pre - filled ` cap ` is the number of total tokens available ` period ` is how long it ' ll take to refill all of the tokens
pub fn full(cap: u64, period: Duration) -> Self {
        Self {
            cap,
            bucket: Bucket::new(cap, cap, period),
        }
    }
pub fn full ( cap : u64 , period : Duration ) -> Self { Self { cap , bucket : Bucket :: new ( cap , cap , period ) , } }
Create a new rate limiter that is pre-filled
`cap` is the number of total tokens available
Create a new rate limiter that is pre - filled ` cap ` is the number of total tokens available
cap
u64
period
Duration