pub struct NodeId(pub u32);Expand description
Identifier for a NUMA node.
Node IDs are stable identifiers assigned by the kernel. They typically start at 0 and increment, but gaps may exist on some systems.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl FromIterator<NodeId> for NodeMask
impl FromIterator<NodeId> for NodeMask
Source§impl Ord for NodeId
impl Ord for NodeId
Source§impl PartialOrd for NodeId
impl PartialOrd for NodeId
impl Copy for NodeId
impl Eq for NodeId
impl StructuralPartialEq for NodeId
Auto Trait Implementations§
impl Freeze for NodeId
impl RefUnwindSafe for NodeId
impl Send for NodeId
impl Sync for NodeId
impl Unpin for NodeId
impl UnwindSafe for NodeId
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