Struct base::sys::unix::sched_attr

source ·
#[repr(C)]
pub struct sched_attr { pub size: u32, pub sched_policy: u32, pub sched_flags: u64, pub sched_nice: i32, pub sched_priority: u32, pub sched_runtime: u64, pub sched_deadline: u64, pub sched_period: u64, pub sched_util_min: u32, pub sched_util_max: u32, }

Fields§

§size: u32§sched_policy: u32§sched_flags: u64§sched_nice: i32§sched_priority: u32§sched_runtime: u64§sched_deadline: u64§sched_period: u64§sched_util_min: u32§sched_util_max: u32

Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.