(&self, udid: &str)
| 204 | } |
| 205 | |
| 206 | fn generation(&self, udid: &str) -> u64 { |
| 207 | self.generations |
| 208 | .lock() |
| 209 | .unwrap_or_else(|poisoned| poisoned.into_inner()) |
| 210 | .get(udid) |
| 211 | .copied() |
| 212 | .unwrap_or(0) |
| 213 | } |
| 214 | |
| 215 | fn begin_warming(&self, udid: &str, generation: u64) -> bool { |
| 216 | let mut warming = self |
no test coverage detected