pub fn parse_interval(interval: &str) -> Result<Duration, String>
Parse an interval string like "12h", "30m", or "60s" into a Duration.
"12h"
"30m"
"60s"
Duration
Returns an error if the format is invalid.