Struct hwlocality::object::attributes::NUMANodeAttributes
source · pub struct NUMANodeAttributes<'object>(/* private fields */);
Expand description
NUMANode
-specific attributes
You cannot create an owned object of this type, it belongs to the topology.
Implementations§
source§impl<'object> NUMANodeAttributes<'object>
impl<'object> NUMANodeAttributes<'object>
sourcepub fn local_memory(&self) -> Option<NonZeroU64>
pub fn local_memory(&self) -> Option<NonZeroU64>
Node-local memory in bytes
Requires DiscoverySupport::numa_memory()
, but may not be present
even when this support flag is set.
sourcepub fn page_types(&self) -> &'object [MemoryPageType]
pub fn page_types(&self) -> &'object [MemoryPageType]
Memory page types, sorted by increasing page size
Trait Implementations§
source§impl<'object> Clone for NUMANodeAttributes<'object>
impl<'object> Clone for NUMANodeAttributes<'object>
source§fn clone(&self) -> NUMANodeAttributes<'object>
fn clone(&self) -> NUMANodeAttributes<'object>
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 NUMANodeAttributes<'_>
impl Debug for NUMANodeAttributes<'_>
source§impl<'object> Default for NUMANodeAttributes<'object>
impl<'object> Default for NUMANodeAttributes<'object>
source§fn default() -> NUMANodeAttributes<'object>
fn default() -> NUMANodeAttributes<'object>
Returns the “default value” for a type. Read more
source§impl Hash for NUMANodeAttributes<'_>
impl Hash for NUMANodeAttributes<'_>
source§impl PartialEq for NUMANodeAttributes<'_>
impl PartialEq for NUMANodeAttributes<'_>
impl<'object> Copy for NUMANodeAttributes<'object>
impl Eq for NUMANodeAttributes<'_>
impl Send for NUMANodeAttributes<'_>
impl Sync for NUMANodeAttributes<'_>
Auto Trait Implementations§
impl<'object> Freeze for NUMANodeAttributes<'object>
impl<'object> RefUnwindSafe for NUMANodeAttributes<'object>
impl<'object> Unpin for NUMANodeAttributes<'object>
impl<'object> UnwindSafe for NUMANodeAttributes<'object>
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