Iterate over all tasks across all tiers in priority order (Critical → High → Low). Used by the cancel handler to locate a task by request ID.
(&self)
| 138 | /// |
| 139 | /// Used by the cancel handler to locate a task by request ID. |
| 140 | pub fn iter(&self) -> impl Iterator<Item = &ExecutionTask> { |
| 141 | self.critical |
| 142 | .iter() |
| 143 | .chain(self.high.iter()) |
| 144 | .chain(self.low.iter()) |
| 145 | .map(|qt| &qt.task) |
| 146 | } |
| 147 | |
| 148 | /// Remove the task at `pos` (position in priority order: Critical first, then High, then Low). |
| 149 | /// |
no outgoing calls