#[non_exhaustive]pub struct NumaNode {
pub id: u32,
pub cpus: Vec<u32>,
pub memory: Option<Bytes>,
}Expand description
A NUMA node.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: u32Its id.
cpus: Vec<u32>The logical CPUs in it.
memory: Option<Bytes>The memory attached to it.
Trait Implementations§
impl Eq for NumaNode
impl StructuralPartialEq for NumaNode
Auto Trait Implementations§
impl Forget for NumaNode
impl Freeze for NumaNode
impl Move 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