pub enum NumaPlacementPolicy {
Local,
Spread,
Interleave,
FollowMemory,
Preferred(NumaNodeId),
}
Expand description
NUMA-aware thread placement policy.
Variants§
Local
Prefer local NUMA node
Spread
Spread threads across NUMA nodes
Interleave
Interleave threads across NUMA nodes
FollowMemory
Follow memory allocation
Preferred(NumaNodeId)
Custom policy with specific node preference
Trait Implementations§
Source§impl Clone for NumaPlacementPolicy
impl Clone for NumaPlacementPolicy
Source§fn clone(&self) -> NumaPlacementPolicy
fn clone(&self) -> NumaPlacementPolicy
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 NumaPlacementPolicy
impl Debug for NumaPlacementPolicy
Source§impl PartialEq for NumaPlacementPolicy
impl PartialEq for NumaPlacementPolicy
impl Copy for NumaPlacementPolicy
impl Eq for NumaPlacementPolicy
impl StructuralPartialEq for NumaPlacementPolicy
Auto Trait Implementations§
impl Freeze for NumaPlacementPolicy
impl RefUnwindSafe for NumaPlacementPolicy
impl Send for NumaPlacementPolicy
impl Sync for NumaPlacementPolicy
impl Unpin for NumaPlacementPolicy
impl UnwindSafe for NumaPlacementPolicy
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