Skip to main content

optimized_default

Function optimized_default 

Source
pub fn optimized_default(variable: &str) -> bool
Expand description

The shared default rule for optimized-route switches.

Returns false (reference) when the process is pinned or variable is set to a disabling value; returns true otherwise — including when the variable is unset, which is what makes the optimized route the default everywhere.