Skip to main content

rate_limit_bundle

Function rate_limit_bundle 

Source
pub fn rate_limit_bundle<T>(
    graph: &Graph,
    source: &Node<T>,
    max: u32,
    window_ms: u64,
    now_ms: impl Fn() -> u64 + 'static,
    name: impl Into<String>,
) -> RateLimitBundle<T>
where T: Clone + 'static,
Expand description

Creates or computes rate_limit_bundle.