Skip to main content

load_from_env

Function load_from_env 

Source
pub fn load_from_env() -> Result<&'static Config>
Expand description

Load configuration from the environment and cache it for subsequent calls.

The first caller populates the cache; later callers get the same instance.