Function parse_ttl 

Source
fn parse_ttl(s: &str) -> Result<TTL>
Expand description

Parse a TTL string into the TTL enum.

Handles the named variants; Duration and Max are not exposed via CLI (use the API directly for those).