Function parse_duration_from_secs
pub fn parse_duration_from_secs(arg: &str) -> Result<Duration, ParseIntError>
Available on crate feature
cli
only.Expand description
Helper to parse a Duration from seconds
pub fn parse_duration_from_secs(arg: &str) -> Result<Duration, ParseIntError>
cli
only.Helper to parse a Duration from seconds