pub fn parse_duration(s: &str) -> Result<Duration, String>
5s, 500ms, 2m (a bare number is seconds).
5s
500ms
2m