fn encode_policy(policy: SchedPolicy) -> (u32, i32)Expand description
Encode a kernel SchedPolicy back into the (policy, priority) wire
representation used by SYS_SCHED_GET.
fn encode_policy(policy: SchedPolicy) -> (u32, i32)Encode a kernel SchedPolicy back into the (policy, priority) wire
representation used by SYS_SCHED_GET.