pub fn elapsed_ms(start: Instant) -> u64Expand description
Convert Instant::elapsed() to whole milliseconds, clamping to u64::MAX.
Used wherever wait_ms / duration_ms fields are populated so that the
same u64::try_from(…).unwrap_or(u64::MAX) boilerplate is not repeated.