Struct cgroups::HugePageResources [−][src]
pub struct HugePageResources {
pub update_values: bool,
pub limits: Vec<HugePageResource>,
}Provides the ability to set consumption limit on each type of hugepages.
Fields
update_values: bool
Whether values should be applied to the controller.
limits: Vec<HugePageResource>
Set a limit of consumption for each hugepages type.
Trait Implementations
impl Debug for HugePageResources[src]
impl Debug for HugePageResourcesfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for HugePageResources[src]
impl Clone for HugePageResourcesfn clone(&self) -> HugePageResources[src]
fn clone(&self) -> HugePageResourcesReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Eq for HugePageResources[src]
impl Eq for HugePageResourcesimpl PartialEq for HugePageResources[src]
impl PartialEq for HugePageResourcesfn eq(&self, other: &HugePageResources) -> bool[src]
fn eq(&self, other: &HugePageResources) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &HugePageResources) -> bool[src]
fn ne(&self, other: &HugePageResources) -> boolThis method tests for !=.
impl Default for HugePageResources[src]
impl Default for HugePageResourcesfn default() -> HugePageResources[src]
fn default() -> HugePageResourcesReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for HugePageResources
impl Send for HugePageResourcesimpl Sync for HugePageResources
impl Sync for HugePageResources