Skip to main content

is_env_var_name

Function is_env_var_name 

Source
pub fn is_env_var_name(name: &str) -> bool
Expand description

Whether name can be an environment variable’s name: a letter or _, then letters, digits and _. A value that is not (postgres://…) is a connection string written where a variable’s name belongs, which the reader refuses without ever echoing it.