pub enum NumaPlacement {
PreferSingle,
StrictSingle,
Inherit,
}Expand description
Concrete host NUMA scope selected by a named placement profile.
Variants§
PreferSingle
Prefer one host NUMA node, falling back to inherited host placement when it cannot fit.
StrictSingle
Require maximum CPU and memory capacity to fit one host NUMA node.
Inherit
Preserve the operating system’s ordinary NUMA behavior.
Trait Implementations§
Source§impl Clone for NumaPlacement
impl Clone for NumaPlacement
Source§fn clone(&self) -> NumaPlacement
fn clone(&self) -> NumaPlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NumaPlacement
Source§impl Debug for NumaPlacement
impl Debug for NumaPlacement
Source§impl<'de> Deserialize<'de> for NumaPlacement
impl<'de> Deserialize<'de> for NumaPlacement
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
impl Eq for NumaPlacement
Source§impl PartialEq for NumaPlacement
impl PartialEq for NumaPlacement
Source§impl Serialize for NumaPlacement
impl Serialize for NumaPlacement
impl StructuralPartialEq for NumaPlacement
Auto Trait Implementations§
impl Freeze for NumaPlacement
impl RefUnwindSafe for NumaPlacement
impl Send for NumaPlacement
impl Sync for NumaPlacement
impl Unpin for NumaPlacement
impl UnsafeUnpin for NumaPlacement
impl UnwindSafe for NumaPlacement
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