pub fn env_key(var: &str) -> Result<Option<String>, SourceError>Expand description
The configuration key of a SCHEDR_CONFIG__ variable (SCHEDR_CONFIG__DAGS__POLL_INTERVAL
→ dags.poll_interval), or None for other variables.
§Errors
Returns SourceError::InvalidEnvKey if the key has an empty part.