/// ID of the CPU core.
pubtypeCoreId=core_affinity::CoreId;/// Returns the list of available CPU cores.
pubfnget_core_ids()->Option<Vec<CoreId>>{core_affinity::get_core_ids()}/// Sets the affinity of the current thread to the given CPU core.
pubfnset_for_current(core_id: CoreId){core_affinity::set_for_current(core_id);}