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§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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)