pub struct SchedulerPolicy {
pub critical_path_weight: Option<u32>,
pub fanout_weight: Option<u32>,
pub age_weight: Option<u32>,
pub token_cost_weight: Option<u32>,
pub deadline_weight: Option<u32>,
pub process_priority_weight: Option<u32>,
pub resource_pressure_weight: Option<u32>,
pub budget_pressure_weight: Option<u32>,
}Expand description
Ready-queue ordering weights. This is a strict value object with no format discriminator.
Fields§
§critical_path_weight: Option<u32>§fanout_weight: Option<u32>§age_weight: Option<u32>§token_cost_weight: Option<u32>§deadline_weight: Option<u32>§process_priority_weight: Option<u32>§resource_pressure_weight: Option<u32>§budget_pressure_weight: Option<u32>Trait Implementations§
Source§impl Clone for SchedulerPolicy
impl Clone for SchedulerPolicy
Source§fn clone(&self) -> SchedulerPolicy
fn clone(&self) -> SchedulerPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchedulerPolicy
impl Debug for SchedulerPolicy
Source§impl Default for SchedulerPolicy
impl Default for SchedulerPolicy
Source§fn default() -> SchedulerPolicy
fn default() -> SchedulerPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchedulerPolicy
impl<'de> Deserialize<'de> for SchedulerPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SchedulerPolicy
impl PartialEq for SchedulerPolicy
Source§impl Serialize for SchedulerPolicy
impl Serialize for SchedulerPolicy
impl StructuralPartialEq for SchedulerPolicy
Auto Trait Implementations§
impl Freeze for SchedulerPolicy
impl RefUnwindSafe for SchedulerPolicy
impl Send for SchedulerPolicy
impl Sync for SchedulerPolicy
impl Unpin for SchedulerPolicy
impl UnsafeUnpin for SchedulerPolicy
impl UnwindSafe for SchedulerPolicy
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