Function get_thread_scheduling_attributes
pub fn get_thread_scheduling_attributes() -> Result<SchedAttr, Error>Available on (Linux or macOS or iOS or DragonFly BSD or FreeBSD or OpenBSD or
target_os=vxworks or NetBSD or Android or WebAssembly) and (Linux or Android) only.Expand description
Returns scheduling attributes for the current thread.