pub async fn rename_profile<R: Runtime>(
app: AppHandle<R>,
scheduler: State<'_, Scheduler>,
from: String,
to: String,
) -> Result<(), String>Expand description
Rename a profile. If the active profile is renamed, the active pointer is updated to follow it. Rejects collisions and missing sources.