pub fn window_micros(span: Duration) -> u64Expand description
The microseconds a configured window spans, rounded up.
This is the only rounding-up conversion: a sub-microsecond window is one
microsecond, never zero, so a caller that set a 500 ns window cannot end up
with a zero-length one. A span too long for the microsecond range clamps to
u64::MAX.