pub enum AffinityTypeEnum {
Memory,
Cpu,
Other_(String),
}Expand description
Types of affinities.
Possible values:
memorycpu
Variants§
Trait Implementations§
Source§impl Clone for AffinityTypeEnum
impl Clone for AffinityTypeEnum
Source§fn clone(&self) -> AffinityTypeEnum
fn clone(&self) -> AffinityTypeEnum
Returns a duplicate 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 AffinityTypeEnum
impl Debug for AffinityTypeEnum
Source§impl<'de> Deserialize<'de> for AffinityTypeEnum
impl<'de> Deserialize<'de> for AffinityTypeEnum
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<'_derivative_strum> From<&'_derivative_strum AffinityTypeEnum> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum AffinityTypeEnum> for &'static str
Source§fn from(x: &'_derivative_strum AffinityTypeEnum) -> &'static str
fn from(x: &'_derivative_strum AffinityTypeEnum) -> &'static str
Converts to this type from the input type.
Source§impl From<AffinityTypeEnum> for &'static str
impl From<AffinityTypeEnum> for &'static str
Source§fn from(x: AffinityTypeEnum) -> &'static str
fn from(x: AffinityTypeEnum) -> &'static str
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AffinityTypeEnum
impl RefUnwindSafe for AffinityTypeEnum
impl Send for AffinityTypeEnum
impl Sync for AffinityTypeEnum
impl Unpin for AffinityTypeEnum
impl UnwindSafe for AffinityTypeEnum
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