pub struct NumaBuilder { /* private fields */ }
Expand description
Builder for Numa
.
Implementations§
Source§impl NumaBuilder
impl NumaBuilder
pub fn guest_numa_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn cpus<VALUE: Into<Vec<usize>>>(&mut self, value: VALUE) -> &mut Self
pub fn distances<VALUE: Into<Vec<usize>>>(&mut self, value: VALUE) -> &mut Self
pub fn memory_zones<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn sgx_epc_sections<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn pci_segments<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for NumaBuilder
impl Clone for NumaBuilder
Source§fn clone(&self) -> NumaBuilder
fn clone(&self) -> NumaBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for NumaBuilder
impl RefUnwindSafe for NumaBuilder
impl Send for NumaBuilder
impl Sync for NumaBuilder
impl Unpin for NumaBuilder
impl UnwindSafe for NumaBuilder
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