pub async fn reset_profile_to_defaults_impl(
scheduler: &Scheduler,
name: String,
) -> Result<(), String>Expand description
State-mutation core for reset_profile_to_defaults. Replaces the
named profile’s settings with Settings::default(), and also resets
the in-memory live settings slot when the named profile is active.