Enum hwlocality::memory::attribute::TargetNumaNodes
source · pub enum TargetNumaNodes<'target> {
Local {
location: MemoryAttributeLocation<'target>,
flags: LocalNUMANodeFlags,
},
All,
}
Available on crate feature
hwloc-2_3_0
only.Expand description
Target NUMA nodes
Variants§
Local
Fields
§
location: MemoryAttributeLocation<'target>
Initiator which NUMA nodes should be local to
By default, the search only returns NUMA nodes whose locality is
exactly the given location
. More nodes can be selected using
flags
.
§
flags: LocalNUMANodeFlags
Flags for enlarging the NUMA node search
Nodes local to some object
All
All NUMA nodes in the topology
Trait Implementations§
source§impl<'target> Clone for TargetNumaNodes<'target>
impl<'target> Clone for TargetNumaNodes<'target>
source§fn clone(&self) -> TargetNumaNodes<'target>
fn clone(&self) -> TargetNumaNodes<'target>
Returns a copy 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<'target> Debug for TargetNumaNodes<'target>
impl<'target> Debug for TargetNumaNodes<'target>
source§impl<'target, T: Into<MemoryAttributeLocation<'target>>> From<T> for TargetNumaNodes<'target>
impl<'target, T: Into<MemoryAttributeLocation<'target>>> From<T> for TargetNumaNodes<'target>
impl<'target> Copy for TargetNumaNodes<'target>
Auto Trait Implementations§
impl<'target> RefUnwindSafe for TargetNumaNodes<'target>
impl<'target> Send for TargetNumaNodes<'target>
impl<'target> Sync for TargetNumaNodes<'target>
impl<'target> Unpin for TargetNumaNodes<'target>
impl<'target> UnwindSafe for TargetNumaNodes<'target>
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