pub struct SchedulingDecision {
pub priority: i32,
pub preempt: bool,
pub latency_target_us: Option<u64>,
pub preferred_cpu: Option<u32>,
}Expand description
Scheduling priority assigned to a task based on its detected phase.
Fields§
§priority: i32§preempt: bool§latency_target_us: Option<u64>§preferred_cpu: Option<u32>Trait Implementations§
Source§impl Clone for SchedulingDecision
impl Clone for SchedulingDecision
Source§fn clone(&self) -> SchedulingDecision
fn clone(&self) -> SchedulingDecision
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchedulingDecision
impl Debug for SchedulingDecision
impl Copy for SchedulingDecision
Auto Trait Implementations§
impl Freeze for SchedulingDecision
impl RefUnwindSafe for SchedulingDecision
impl Send for SchedulingDecision
impl Sync for SchedulingDecision
impl Unpin for SchedulingDecision
impl UnwindSafe for SchedulingDecision
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more