pub enum SchedMode {
Auto = 0,
Gaming = 1,
PowerSave = 2,
LowLatency = 3,
Server = 4,
}
Variants§
Auto = 0
Default values for the scheduler
Gaming = 1
Applies flags for better gaming experience
PowerSave = 2
Applies flags for lower power usage
LowLatency = 3
Starts scheduler in low latency mode
Server = 4
Starts scheduler in server-oriented mode
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SchedMode
impl<'de> Deserialize<'de> for SchedMode
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 TryFrom<OwnedValue> for SchedMode
impl TryFrom<OwnedValue> for SchedMode
Source§impl TryFrom<SchedMode> for OwnedValue
impl TryFrom<SchedMode> for OwnedValue
impl StructuralPartialEq for SchedMode
Auto Trait Implementations§
impl Freeze for SchedMode
impl RefUnwindSafe for SchedMode
impl Send for SchedMode
impl Sync for SchedMode
impl Unpin for SchedMode
impl UnwindSafe for SchedMode
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§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.