pub fn with_labels_for_task<F, T>(task_id: TaskId, f: F) -> Twhere F: FnOnce(&mut Labels) -> T,
Apply the given function to the Labels for the specified task