pub enum NUMAInitiator<'target> {
Local {
initiator: Initiator<'target>,
flags: LocalNUMANodeFlags,
},
All,
}Available on crate feature
hwloc-2_3_0 only.Expand description
Scope of a Topology::local_numa_nodes() query
Variants§
Local
Nodes local to some initiator object
Fields
§
initiator: Initiator<'target>Initiator which NUMA nodes should be local to
By default, the search only returns NUMA nodes whose locality is
exactly the given initiator. More nodes can be selected using
flags.
§
flags: LocalNUMANodeFlagsFlags for enlarging the NUMA node search
All
All NUMA nodes in the topology
Trait Implementations§
Source§impl<'target> Clone for NUMAInitiator<'target>
impl<'target> Clone for NUMAInitiator<'target>
Source§fn clone(&self) -> NUMAInitiator<'target>
fn clone(&self) -> NUMAInitiator<'target>
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<'target> Debug for NUMAInitiator<'target>
impl<'target> Debug for NUMAInitiator<'target>
Auto Trait Implementations§
impl<'target> Freeze for NUMAInitiator<'target>
impl<'target> RefUnwindSafe for NUMAInitiator<'target>
impl<'target> Send for NUMAInitiator<'target>
impl<'target> Sync for NUMAInitiator<'target>
impl<'target> Unpin for NUMAInitiator<'target>
impl<'target> UnwindSafe for NUMAInitiator<'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