Struct atopology::Node[][src]

pub struct Node {
    pub id: NodeId,
}

Represents a NUMA node in the system.

Fields

id: NodeId

Implementations

impl Node[src]

pub fn siblings(&self) -> impl Iterator<Item = &'static Node>[src]

All NUMA nodes of the system.

pub fn memory(&'static self) -> impl Iterator<Item = &'static MemoryAffinity>[src]

pub fn threads(&'static self) -> impl Iterator<Item = &'static Thread>[src]

All threads of the NUMA node.

pub fn cores(&'static self) -> impl Iterator<Item = &'static Core>[src]

All cores of the NUMA node.

pub fn packages(&'static self) -> impl Iterator<Item = &'static Package>[src]

All packages of the NUMA node.

Trait Implementations

impl Debug for Node[src]

impl Eq for Node[src]

impl Ord for Node[src]

impl PartialEq<Node> for Node[src]

impl PartialOrd<Node> for Node[src]

impl StructuralEq for Node[src]

impl StructuralPartialEq for Node[src]

Auto Trait Implementations

impl Send for Node

impl Sync for Node

impl Unpin for Node

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.