(&self)
| 1347 | } |
| 1348 | |
| 1349 | /// Calls the provided closure on the thread's worker instance, if it has |
| 1350 | /// one. If this thread is not registered as a worker, the closure is passed |
| 1351 | /// `None`. |
| 1352 | #[inline(always)] |
| 1353 | pub fn with_current<F, R>(f: F) -> R |
| 1354 | where |
no test coverage detected