pub fn format_duration_ms(d: Duration) -> String
Format a Duration as a human-readable millisecond or second string.