Enum oci_spec::runtime::LinuxSchedulerFlag
source · 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§fn eq(&self, other: &LinuxSchedulerFlag) -> bool
fn eq(&self, other: &LinuxSchedulerFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)