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: __u32sched_policy: __u32sched_flags: __u64sched_nice: __s32sched_priority: __u32sched_runtime: __u64sched_deadline: __u64sched_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) -> TReturns the argument unchanged.
impl<T, U> Into<U> for sched_attr
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses 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>