Struct sched_attr

#[repr(C)]
pub struct sched_attr { pub size: __u32, pub sched_policy: __u32, pub sched_flags: __u64, pub sched_nice: __s32, pub sched_priority: __u32, pub sched_runtime: __u64, pub sched_deadline: __u64, pub sched_period: __u64 }

Fields

size: __u32
sched_policy: __u32
sched_flags: __u64
sched_nice: __s32
sched_priority: __u32
sched_runtime: __u64
sched_deadline: __u64
sched_period: __u64

Trait Implementations

impl Clone for sched_attr

fn clone(&self) -> sched_attr

impl Copy for sched_attr

impl Debug for sched_attr

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for sched_attr

impl Hash for sched_attr

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for sched_attr

fn eq(&self, other: &sched_attr) -> bool

impl StructuralPartialEq for sched_attr

Auto Trait Implementations

impl Freeze for sched_attr

impl RefUnwindSafe for sched_attr

impl Send for sched_attr

impl Sync for sched_attr

impl Unpin for sched_attr

impl UnsafeUnpin for sched_attr

impl UnwindSafe for sched_attr

Blanket Implementations

impl<T> Any for sched_attr where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for sched_attr where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for sched_attr where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for sched_attr where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for sched_attr

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for sched_attr where U: From<T>,

fn into(self) -> U

Calls U::from(self).

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

impl<T, U> TryFrom<U> for sched_attr where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for sched_attr where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>