pub fn parse_duration(input: &str) -> Result<Duration, String>
Parse "30s", "5m", "1h", "500ms" → Duration.
"30s"
"5m"
"1h"
"500ms"
Duration