Skip to main content

current

Function current 

Source
pub fn current() -> Settings
Expand description

Return the active Settings: the task-local overlay when one is installed, else the registered fallback, else a fresh Settings::default(). Never panics — the worst-case return is an empty Settings::default() so tests that haven’t set up an overlay still get a usable value.