with_environment_scope

Function with_environment_scope 

Source
pub fn with_environment_scope<F, R>(env: Arc<EnvDescription>, f: F) -> R
where F: FnOnce() -> R,
Expand description

Executes a closure within an active thread-local EnvironmentScope.