#[non_exhaustive]pub enum TransparentHugePages {
Always,
Madvise,
Never,
}Expand description
The Linux transparent-huge-page mode.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Always
Used for every eligible mapping.
Madvise
Used only where the program asks with madvise.
Never
Not used.
Trait Implementations§
Source§impl Clone for TransparentHugePages
impl Clone for TransparentHugePages
impl Copy for TransparentHugePages
Source§impl Debug for TransparentHugePages
impl Debug for TransparentHugePages
impl Eq for TransparentHugePages
Source§impl Hash for TransparentHugePages
impl Hash for TransparentHugePages
Source§impl PartialEq for TransparentHugePages
impl PartialEq for TransparentHugePages
impl StructuralPartialEq for TransparentHugePages
Auto Trait Implementations§
impl Freeze for TransparentHugePages
impl RefUnwindSafe for TransparentHugePages
impl Send for TransparentHugePages
impl Sync for TransparentHugePages
impl Unpin for TransparentHugePages
impl UnsafeUnpin for TransparentHugePages
impl UnwindSafe for TransparentHugePages
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