pub enum NumaOptions {
cpu(NumaCpuOptions),
dist(NumaDistOptions),
hmat_cache(NumaHmatCacheOptions),
hmat_lb(NumaHmatLBOptions),
node(NumaNodeOptions),
}
Variants§
cpu(NumaCpuOptions)
dist(NumaDistOptions)
hmat_cache(NumaHmatCacheOptions)
hmat_lb(NumaHmatLBOptions)
node(NumaNodeOptions)
Implementations§
Source§impl NumaOptions
impl NumaOptions
pub fn type_(&self) -> NumaOptionsType
Trait Implementations§
Source§impl Clone for NumaOptions
impl Clone for NumaOptions
Source§fn clone(&self) -> NumaOptions
fn clone(&self) -> NumaOptions
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 NumaOptions
impl Debug for NumaOptions
Source§impl<'de> Deserialize<'de> for NumaOptions
impl<'de> Deserialize<'de> for NumaOptions
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 From<NumaCpuOptions> for NumaOptions
impl From<NumaCpuOptions> for NumaOptions
Source§fn from(val: NumaCpuOptions) -> Self
fn from(val: NumaCpuOptions) -> Self
Converts to this type from the input type.
Source§impl From<NumaDistOptions> for NumaOptions
impl From<NumaDistOptions> for NumaOptions
Source§fn from(val: NumaDistOptions) -> Self
fn from(val: NumaDistOptions) -> Self
Converts to this type from the input type.
Source§impl From<NumaHmatCacheOptions> for NumaOptions
impl From<NumaHmatCacheOptions> for NumaOptions
Source§fn from(val: NumaHmatCacheOptions) -> Self
fn from(val: NumaHmatCacheOptions) -> Self
Converts to this type from the input type.
Source§impl From<NumaHmatLBOptions> for NumaOptions
impl From<NumaHmatLBOptions> for NumaOptions
Source§fn from(val: NumaHmatLBOptions) -> Self
fn from(val: NumaHmatLBOptions) -> Self
Converts to this type from the input type.
Source§impl From<NumaNodeOptions> for NumaOptions
impl From<NumaNodeOptions> for NumaOptions
Source§fn from(val: NumaNodeOptions) -> Self
fn from(val: NumaNodeOptions) -> Self
Converts to this type from the input type.
Source§impl From<NumaOptions> for set_numa_node
impl From<NumaOptions> for set_numa_node
Source§fn from(val: NumaOptions) -> Self
fn from(val: NumaOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NumaOptions
impl RefUnwindSafe for NumaOptions
impl Send for NumaOptions
impl Sync for NumaOptions
impl Unpin for NumaOptions
impl UnwindSafe for NumaOptions
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