pub fn set_active_profile(name: &str) -> Result<Profile, String>Expand description
Sets the active profile for the current process.
Records the selection in a thread-safe in-process override (see
active_profile_name) and returns the resolved profile after applying
inheritance.