Struct cgroups_rs::HugePageResource [−][src]
Expand description
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
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HugePageResource
impl Send for HugePageResource
impl Sync for HugePageResource
impl Unpin for HugePageResource
impl UnwindSafe for HugePageResource
Blanket Implementations
Mutably borrows from an owned value. Read more