new_limit

Macro new_limit 

Source
macro_rules! new_limit {
    ($rate:expr, $burst:expr, $period_seconds:expr) => { ... };
}
Expand description

Compile-time checked macro to create a new Limit instance. If you want to create dynamically configured limits, use Limit::new instead.