pub fn core_affinity() -> Option<u32>
Get the core affinity of the current thread, as set by the active scheduler. Will be None if the scheduler is not using CPU pinning, or if called from a thread not owned by the scheduler.
None