pub enum HugePageSize {
Size2MB,
Size1GB,
}Expand description
Huge page size options (Linux only).
Variants§
Size2MB
2 MB huge pages (most common)
Size1GB
1 GB huge pages (requires explicit kernel configuration)
Implementations§
Trait Implementations§
Source§impl Clone for HugePageSize
impl Clone for HugePageSize
Source§fn clone(&self) -> HugePageSize
fn clone(&self) -> HugePageSize
Returns a duplicate 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 HugePageSize
impl Debug for HugePageSize
Source§impl PartialEq for HugePageSize
impl PartialEq for HugePageSize
impl Copy for HugePageSize
impl Eq for HugePageSize
impl StructuralPartialEq for HugePageSize
Auto Trait Implementations§
impl Freeze for HugePageSize
impl RefUnwindSafe for HugePageSize
impl Send for HugePageSize
impl Sync for HugePageSize
impl Unpin for HugePageSize
impl UnsafeUnpin for HugePageSize
impl UnwindSafe for HugePageSize
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