route_for

Function route_for 

Source
pub fn route_for<const N: usize, W: WaitStrategy>(
    router: &FanoutRouter<N>,
    cfg: RouterLoopConfig,
    wait: &mut W,
    dur: Duration,
) -> RouterCounters
Expand description

Run the router for a fixed duration.

Requires std because it uses std::time::Instant.