pub async fn set_active_profile<R: Runtime>( app: AppHandle<R>, scheduler: State<'_, Scheduler>, name: String, ) -> Result<(), String>
Renderer-facing set_active_profile. Thin wrapper over set_active_profile_impl.
set_active_profile
set_active_profile_impl