Struct dbs_address_space::NumaNode
source · pub struct NumaNode { /* private fields */ }Expand description
Record all region’s info of a numa node.
Implementations
sourceimpl NumaNode
impl NumaNode
sourcepub fn region_infos(&self) -> &Vec<NumaNodeInfo>
pub fn region_infos(&self) -> &Vec<NumaNodeInfo>
get reference of region_infos in numa node.
sourcepub fn add_info(&mut self, info: &NumaNodeInfo)
pub fn add_info(&mut self, info: &NumaNodeInfo)
add a new numa region info into this numa node.
sourcepub fn add_vcpu_ids(&mut self, vcpu_ids: &[u32])
pub fn add_vcpu_ids(&mut self, vcpu_ids: &[u32])
add a group of vcpu ids belong to this numa node
Trait Implementations
impl Eq for NumaNode
impl StructuralEq for NumaNode
impl StructuralPartialEq for NumaNode
Auto Trait Implementations
impl RefUnwindSafe for NumaNode
impl Send for NumaNode
impl Sync for NumaNode
impl Unpin for NumaNode
impl UnwindSafe for NumaNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more