pub fn route_for<const N: usize, W: WaitStrategy>(
router: &FanoutRouter<N>,
cfg: RouterLoopConfig,
wait: &mut W,
dur: Duration,
) -> RouterCountersExpand description
Run the router for a fixed duration.
Requires std because it uses std::time::Instant.