fn int_str_to_secs(s: Option<&str>) -> Result<Option<Duration>>
Expand description

Helper: parse an optional string as a number of seconds.