pub enum LinuxSchedulerFlag {
SchedResetOnFork,
SchedFlagReclaim,
SchedFlagDLOverrun,
SchedFlagKeepPolicy,
SchedFlagKeepParams,
SchedFlagUtilClampMin,
SchedFlagUtilClampMax,
}
Expand description
LinuxSchedulerFlag represents the flags used by the Linux Scheduler.
Variants§
SchedResetOnFork
SchedFlagResetOnFork represents the reset on fork scheduling flag
SchedFlagReclaim
SchedFlagReclaim represents the reclaim scheduling flag
SchedFlagDLOverrun
SchedFlagDLOverrun represents the deadline overrun scheduling flag
SchedFlagKeepPolicy
SchedFlagKeepPolicy represents the keep policy scheduling flag
SchedFlagKeepParams
SchedFlagKeepParams represents the keep parameters scheduling flag
SchedFlagUtilClampMin
SchedFlagUtilClampMin represents the utilization clamp minimum scheduling flag
SchedFlagUtilClampMax
SchedFlagUtilClampMin represents the utilization clamp maximum scheduling flag
Trait Implementations§
Source§impl Clone for LinuxSchedulerFlag
impl Clone for LinuxSchedulerFlag
Source§fn clone(&self) -> LinuxSchedulerFlag
fn clone(&self) -> LinuxSchedulerFlag
Returns a copy 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 LinuxSchedulerFlag
impl Debug for LinuxSchedulerFlag
Source§impl Default for LinuxSchedulerFlag
impl Default for LinuxSchedulerFlag
Default LinuxSchedulerFlag is SchedResetOnFork
Source§impl<'de> Deserialize<'de> for LinuxSchedulerFlag
impl<'de> Deserialize<'de> for LinuxSchedulerFlag
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 Display for LinuxSchedulerFlag
impl Display for LinuxSchedulerFlag
Source§impl FromStr for LinuxSchedulerFlag
impl FromStr for LinuxSchedulerFlag
Source§impl PartialEq for LinuxSchedulerFlag
impl PartialEq for LinuxSchedulerFlag
Source§impl Serialize for LinuxSchedulerFlag
impl Serialize for LinuxSchedulerFlag
Source§impl TryFrom<&str> for LinuxSchedulerFlag
impl TryFrom<&str> for LinuxSchedulerFlag
impl Copy for LinuxSchedulerFlag
impl Eq for LinuxSchedulerFlag
impl StructuralPartialEq for LinuxSchedulerFlag
Auto Trait Implementations§
impl Freeze for LinuxSchedulerFlag
impl RefUnwindSafe for LinuxSchedulerFlag
impl Send for LinuxSchedulerFlag
impl Sync for LinuxSchedulerFlag
impl Unpin for LinuxSchedulerFlag
impl UnwindSafe for LinuxSchedulerFlag
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)