Function parse_duration

Source
pub fn parse_duration(
    i: &[u8],
) -> IResult<&[u8], Option<Duration>, (&[u8], ErrorKind)>