reth_cli_util::parsers

Function parse_duration_from_secs

Source
pub fn parse_duration_from_secs(arg: &str) -> Result<Duration, ParseIntError>
Expand description

Helper to parse a Duration from seconds