pub struct SchedAttr {
pub policy: u32,
pub runtime_ns: u64,
pub deadline_ns: u64,
pub period_ns: u64,
}Expand description
Scheduling attributes for sched_setattr-style interface.
Fields§
§policy: u32Scheduling policy (should be SCHED_DEADLINE)
runtime_ns: u64Worst-case execution time per period (nanoseconds)
deadline_ns: u64Relative deadline (nanoseconds)
period_ns: u64Activation period (nanoseconds)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchedAttr
impl RefUnwindSafe for SchedAttr
impl Send for SchedAttr
impl Sync for SchedAttr
impl Unpin for SchedAttr
impl UnwindSafe for SchedAttr
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)