pub fn parse_ttl(ttl: &str) -> Result<Duration, WaiverError>
Parses <number><s|m|h|d> into a duration.
<number><s|m|h|d>
Returns WaiverError::BadTtl on any other shape.
WaiverError::BadTtl