(&mut self)
| 488 | impl Iterator for EnumerateDevices { |
| 489 | type Item = (PathBuf, Device); |
| 490 | fn next(&mut self) -> Option<(PathBuf, Device)> { |
| 491 | self.inner |
| 492 | .next() |
| 493 | .map(|(pb, dev)| (pb, Device::from_raw_device(dev))) |
| 494 | } |
| 495 | } |
| 496 | |
| 497 | /// A safe Rust version of clock_gettime against CLOCK_REALTIME |
no outgoing calls
no test coverage detected