Macro rc_limiter

Source
macro_rules! rc_limiter {
    ($clock:expr, $bits_per_tick:expr) => { ... };
}
Expand description

Create a RateLimiter wrapped in an Rc.

This is the most common form of RateLimiter used because all of its methods can be used immutably and therefore it can be shared by any number of components with the same bandwidth limit.