Struct cgroups::HugePageResource[][src]

pub struct HugePageResource {
    pub size: String,
    pub limit: u64,
}

A hugepage type and its consumption limit for the control group.

Fields

The size of the hugepage, i.e. 2MB, 1GB, etc.

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]

Formats the value using the given formatter. Read more

impl Clone for HugePageResource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for HugePageResource
[src]

impl PartialEq for HugePageResource
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for HugePageResource
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations