pub fn get_core_ids() -> Option<Vec<CoreId>>
This function tries to retrieve information on all the “cores” on which the current thread is allowed to run.