pub fn format_duration(duration: Duration) -> StringExpand description
Writes a duration as parse_duration reads it, in the largest units that are exact
(2m, not 120s; 1h30m; 0s for zero).
pub fn format_duration(duration: Duration) -> StringWrites a duration as parse_duration reads it, in the largest units that are exact
(2m, not 120s; 1h30m; 0s for zero).