pub struct NumaNode(pub u32);Expand description
Represents a NUMA node identifier.
NUMA nodes are typically numbered 0, 1, 2, etc. corresponding to physical
CPU sockets. Use NumaNode::UNKNOWN when the node cannot be determined.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NumaNode
impl<'de> Deserialize<'de> for NumaNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for NumaNode
impl Eq for NumaNode
impl StructuralPartialEq for NumaNode
Auto Trait Implementations§
impl Freeze for NumaNode
impl RefUnwindSafe for NumaNode
impl Send for NumaNode
impl Sync for NumaNode
impl Unpin for NumaNode
impl UnsafeUnpin for NumaNode
impl UnwindSafe for NumaNode
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