Enum oci_spec::runtime::LinuxSchedulerPolicy
source · pub enum LinuxSchedulerPolicy {
SchedOther,
SchedFifo,
SchedRr,
SchedBatch,
SchedIso,
SchedIdle,
SchedDeadline,
}
Expand description
LinuxSchedulerPolicy represents different scheduling policies used with the Linux Scheduler
Variants§
SchedOther
SchedOther is the default scheduling policy
SchedFifo
SchedFIFO is the First-In-First-Out scheduling policy
SchedRr
SchedRR is the Round-Robin scheduling policy
SchedBatch
SchedBatch is the Batch scheduling policy
SchedIso
SchedISO is the Isolation scheduling policy
SchedIdle
SchedIdle is the Idle scheduling policy
SchedDeadline
SchedDeadline is the Deadline scheduling policy
Trait Implementations§
source§impl Clone for LinuxSchedulerPolicy
impl Clone for LinuxSchedulerPolicy
source§fn clone(&self) -> LinuxSchedulerPolicy
fn clone(&self) -> LinuxSchedulerPolicy
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 LinuxSchedulerPolicy
impl Debug for LinuxSchedulerPolicy
source§impl Default for LinuxSchedulerPolicy
impl Default for LinuxSchedulerPolicy
Default LinuxSchedulerPolicy is SchedOther
source§impl<'de> Deserialize<'de> for LinuxSchedulerPolicy
impl<'de> Deserialize<'de> for LinuxSchedulerPolicy
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 LinuxSchedulerPolicy
impl Display for LinuxSchedulerPolicy
source§impl FromStr for LinuxSchedulerPolicy
impl FromStr for LinuxSchedulerPolicy
source§impl PartialEq for LinuxSchedulerPolicy
impl PartialEq for LinuxSchedulerPolicy
source§fn eq(&self, other: &LinuxSchedulerPolicy) -> bool
fn eq(&self, other: &LinuxSchedulerPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LinuxSchedulerPolicy
impl Serialize for LinuxSchedulerPolicy
source§impl TryFrom<&str> for LinuxSchedulerPolicy
impl TryFrom<&str> for LinuxSchedulerPolicy
impl Copy for LinuxSchedulerPolicy
impl Eq for LinuxSchedulerPolicy
impl StructuralPartialEq for LinuxSchedulerPolicy
Auto Trait Implementations§
impl Freeze for LinuxSchedulerPolicy
impl RefUnwindSafe for LinuxSchedulerPolicy
impl Send for LinuxSchedulerPolicy
impl Sync for LinuxSchedulerPolicy
impl Unpin for LinuxSchedulerPolicy
impl UnwindSafe for LinuxSchedulerPolicy
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
)