Struct cgroups::HugePageResource [−][src]
A hugepage type and its consumption limit for the control group.
Fields
size: String
The size of the hugepage, i.e. 2MB, 1GB, etc.
limit: u64
The amount of bytes (of memory consumed by the tasks) that are allowed to be backed by hugepages.
Trait Implementations
impl Debug for HugePageResource[src]
impl Debug for HugePageResourcefn 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 HugePageResource[src]
impl Clone for HugePageResourcefn clone(&self) -> HugePageResource[src]
fn clone(&self) -> HugePageResourceReturns 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 HugePageResource[src]
impl Eq for HugePageResourceimpl PartialEq for HugePageResource[src]
impl PartialEq for HugePageResourcefn eq(&self, other: &HugePageResource) -> bool[src]
fn eq(&self, other: &HugePageResource) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &HugePageResource) -> bool[src]
fn ne(&self, other: &HugePageResource) -> boolThis method tests for !=.
impl Default for HugePageResource[src]
impl Default for HugePageResourcefn default() -> HugePageResource[src]
fn default() -> HugePageResourceReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for HugePageResource
impl Send for HugePageResourceimpl Sync for HugePageResource
impl Sync for HugePageResource