pub struct MemoryZone {
pub size: Option<ByteSize>,
pub file: Option<PathBuf>,
pub shared: Option<OnOff>,
pub hugepages: Option<OnOff>,
pub hugepage_size: Option<ByteSize>,
pub host_numa_node: Option<usize>,
pub id: Option<String>,
pub hotplug_size: Option<ByteSize>,
pub hotplugged_size: Option<ByteSize>,
pub prefault: Option<OnOff>,
}Fields§
§size: Option<ByteSize>§file: Option<PathBuf>§hugepages: Option<OnOff>§hugepage_size: Option<ByteSize>§host_numa_node: Option<usize>§id: Option<String>§hotplug_size: Option<ByteSize>§hotplugged_size: Option<ByteSize>§prefault: Option<OnOff>Trait Implementations§
source§impl ToCommand for MemoryZone
impl ToCommand for MemoryZone
fn to_command(&self) -> Vec<String>
fn to_single_command(&self) -> String
Auto Trait Implementations§
impl RefUnwindSafe for MemoryZone
impl Send for MemoryZone
impl Sync for MemoryZone
impl Unpin for MemoryZone
impl UnwindSafe for MemoryZone
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