pub enum SchedulerAlgorithm {
Binpack,
Spread,
}
Expand description
SchedulerAlgorithm is an enum string that encapsulates the valid options for a SchedulerConfiguration block’s SchedulerAlgorithm. These modes will allow the scheduler to be user-selectable.
This enum was generated based on the Go types of the official Nomad API client.
Variants§
Trait Implementations§
Source§impl Clone for SchedulerAlgorithm
impl Clone for SchedulerAlgorithm
Source§fn clone(&self) -> SchedulerAlgorithm
fn clone(&self) -> SchedulerAlgorithm
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 SchedulerAlgorithm
impl Debug for SchedulerAlgorithm
Source§impl<'de> Deserialize<'de> for SchedulerAlgorithm
impl<'de> Deserialize<'de> for SchedulerAlgorithm
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 SchedulerAlgorithm
impl PartialEq for SchedulerAlgorithm
Source§impl Serialize for SchedulerAlgorithm
impl Serialize for SchedulerAlgorithm
impl StructuralPartialEq for SchedulerAlgorithm
Auto Trait Implementations§
impl Freeze for SchedulerAlgorithm
impl RefUnwindSafe for SchedulerAlgorithm
impl Send for SchedulerAlgorithm
impl Sync for SchedulerAlgorithm
impl Unpin for SchedulerAlgorithm
impl UnwindSafe for SchedulerAlgorithm
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