pub fn worker_index() -> Option<usize>
The index of the worker this code runs on (0, 1, … among the workers of its runtime), None off the workers (in block_on’s own thread, on the blocking pool, outside any runtime).
None
block_on