Function get_env_or_panic
Source pub fn get_env_or_panic<T: FromStr>(name: &str, has_secret: bool) -> T
Expand description
Reads an environment variable and returns its value if it exists; otherwise,
this function will panic.
For more information, see get_env
.
ยงPanics
This function will panic if the environment variable does not exist.