current_worker_ordinal

Function current_worker_ordinal 

Source
pub fn current_worker_ordinal() -> usize
Expand description

Get current worker ordinal. Return None if the current thread is not a worker.