Struct oci_spec::runtime::LinuxHugepageLimit
source · pub struct LinuxHugepageLimit { /* private fields */ }
Expand description
LinuxHugepageLimit structure corresponds to limiting kernel hugepages. Default to reservation limits if supported. Otherwise fallback to page fault limits.
Implementations§
Trait Implementations§
source§impl Clone for LinuxHugepageLimit
impl Clone for LinuxHugepageLimit
source§fn clone(&self) -> LinuxHugepageLimit
fn clone(&self) -> LinuxHugepageLimit
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LinuxHugepageLimit
impl Debug for LinuxHugepageLimit
source§impl Default for LinuxHugepageLimit
impl Default for LinuxHugepageLimit
source§fn default() -> LinuxHugepageLimit
fn default() -> LinuxHugepageLimit
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LinuxHugepageLimit
impl<'de> Deserialize<'de> for LinuxHugepageLimit
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for LinuxHugepageLimit
impl PartialEq for LinuxHugepageLimit
source§fn eq(&self, other: &LinuxHugepageLimit) -> bool
fn eq(&self, other: &LinuxHugepageLimit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LinuxHugepageLimit
impl Serialize for LinuxHugepageLimit
impl Eq for LinuxHugepageLimit
impl StructuralPartialEq for LinuxHugepageLimit
Auto Trait Implementations§
impl Freeze for LinuxHugepageLimit
impl RefUnwindSafe for LinuxHugepageLimit
impl Send for LinuxHugepageLimit
impl Sync for LinuxHugepageLimit
impl Unpin for LinuxHugepageLimit
impl UnwindSafe for LinuxHugepageLimit
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)