(&self)
| 1404 | /// [`Worker::wait_for_type`]). |
| 1405 | #[derive(Clone, Copy, PartialEq, Eq)] |
| 1406 | pub(crate) enum WaitType { |
| 1407 | /// Any work. |
| 1408 | Any, |
| 1409 | /// For a `join`: skips spawned work and the global queue, so a long job |
| 1410 | /// doesn't hold up the `join`. |
| 1411 | Join, |
| 1412 | } |
| 1413 | |
| 1414 | /// Describes the outcome of a call to [`Worker::yield_now`] or |
| 1415 | /// [`Worker::yield_local`]. |
no test coverage detected