parse_duration

Function parse_duration 

Source
pub fn parse_duration(str: impl AsRef<str>) -> Result<Duration>