Struct hwlocality::topology::support::DiscoverySupport
source · pub struct DiscoverySupport(/* private fields */);
Expand description
Support for discovering information about the topology
Implementations§
source§impl DiscoverySupport
impl DiscoverySupport
sourcepub fn numa_count(&self) -> bool
pub fn numa_count(&self) -> bool
Detecting the number of NUMA nodes is supported
sourcepub fn numa_memory(&self) -> bool
pub fn numa_memory(&self) -> bool
Detecting the amount of memory in NUMA nodes is supported
sourcepub fn disallowed_pu(&self) -> bool
Available on crate feature hwloc-2_1_0
only.
pub fn disallowed_pu(&self) -> bool
hwloc-2_1_0
only.Detecting and identifying PU objects that are not available to the current process is supported
sourcepub fn disallowed_numa(&self) -> bool
Available on crate feature hwloc-2_1_0
only.
pub fn disallowed_numa(&self) -> bool
hwloc-2_1_0
only.Detecting and identifying NUMA nodes that are not available to the current process is supported
sourcepub fn cpukind_efficiency(&self) -> bool
Available on crate feature hwloc-2_4_0
only.
pub fn cpukind_efficiency(&self) -> bool
hwloc-2_4_0
only.Detecting the efficiency of CPU kinds is supported
See also Kinds of CPU cores.
Trait Implementations§
source§impl Arbitrary for DiscoverySupport
Available on crate feature proptest
only.
impl Arbitrary for DiscoverySupport
Available on crate feature
proptest
only.§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<[TupleUnion<((u32, Arc<Map<Any, fn(_: bool) -> u8>>), (u32, Arc<RangeInclusive<u8>>))>; 6], fn(_: [u8; 6]) -> DiscoverySupport>
type Strategy = Map<[TupleUnion<((u32, Arc<Map<Any, fn(_: bool) -> u8>>), (u32, Arc<RangeInclusive<u8>>))>; 6], fn(_: [u8; 6]) -> DiscoverySupport>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(args: Self::Parameters) -> Self::Strategy
fn arbitrary_with(args: Self::Parameters) -> Self::Strategy
source§impl Clone for DiscoverySupport
impl Clone for DiscoverySupport
source§fn clone(&self) -> DiscoverySupport
fn clone(&self) -> DiscoverySupport
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 Debug for DiscoverySupport
impl Debug for DiscoverySupport
source§impl Default for DiscoverySupport
impl Default for DiscoverySupport
source§fn default() -> DiscoverySupport
fn default() -> DiscoverySupport
Returns the “default value” for a type. Read more
source§impl Hash for DiscoverySupport
impl Hash for DiscoverySupport
source§impl PartialEq for DiscoverySupport
impl PartialEq for DiscoverySupport
source§fn eq(&self, other: &DiscoverySupport) -> bool
fn eq(&self, other: &DiscoverySupport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DiscoverySupport
impl Eq for DiscoverySupport
impl StructuralPartialEq for DiscoverySupport
Auto Trait Implementations§
impl RefUnwindSafe for DiscoverySupport
impl Send for DiscoverySupport
impl Sync for DiscoverySupport
impl Unpin for DiscoverySupport
impl UnwindSafe for DiscoverySupport
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