pub fn parse_duration(s: &str) -> Result<Duration, String>
Parse 600s, 5m, 2h, 500ms, or a bare integer (seconds).
600s
5m
2h
500ms