Function get_env_var_as_u16

Source
pub fn get_env_var_as_u16(name: &str) -> Option<u16>
Expand description

Gets the value of the environment variable name and interprets it as a u16. Returns None if the variable is not set or if its contents are invalid.