get_environment

Function get_environment 

Source
pub fn get_environment() -> Environment
Expand description

Get the current environment (cached)

This function caches the environment on first call for performance. The environment is detected from the RUSTAPI_ENV environment variable.