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