pub enum NumaStrategy {
None,
LocalPreferred,
LocalStrict,
Interleave,
}Expand description
NUMA allocation strategy.
Variants§
None
No NUMA awareness (default)
LocalPreferred
Prefer local NUMA node
LocalStrict
Strict local NUMA node
Interleave
Interleave across all NUMA nodes
Trait Implementations§
Source§impl Clone for NumaStrategy
impl Clone for NumaStrategy
Source§fn clone(&self) -> NumaStrategy
fn clone(&self) -> NumaStrategy
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 NumaStrategy
impl Debug for NumaStrategy
Source§impl<'de> Deserialize<'de> for NumaStrategy
impl<'de> Deserialize<'de> for NumaStrategy
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 Hash for NumaStrategy
impl Hash for NumaStrategy
Source§impl PartialEq for NumaStrategy
impl PartialEq for NumaStrategy
Source§impl Serialize for NumaStrategy
impl Serialize for NumaStrategy
impl Copy for NumaStrategy
impl Eq for NumaStrategy
impl StructuralPartialEq for NumaStrategy
Auto Trait Implementations§
impl Freeze for NumaStrategy
impl RefUnwindSafe for NumaStrategy
impl Send for NumaStrategy
impl Sync for NumaStrategy
impl Unpin for NumaStrategy
impl UnwindSafe for NumaStrategy
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