Function parse_u16
Source fn parse_u16(key: &str) -> Option<u16>
Expand description
Extracts the env var by key and parses it as a u16
§Arguments
key - Key for the environment variable.
§Returns
Returns an Option<u16> if the value is available.
§Panics
If the value is present, but it is an invalid data-type.