pub fn parse_duration(s: &str) -> Result<Duration, DurationParseError>Expand description
Parst 5, 5s, 2m, 1h zu einer Duration.
ยงErrors
DurationParseError bei nicht-numerischem Prefix oder unbekannter Einheit.
pub fn parse_duration(s: &str) -> Result<Duration, DurationParseError>Parst 5, 5s, 2m, 1h zu einer Duration.
DurationParseError bei nicht-numerischem Prefix oder unbekannter Einheit.