[][src]Enum memfd::HugetlbSize

pub enum HugetlbSize {
    Huge64KB,
    Huge512KB,
    Huge1MB,
    Huge2MB,
    Huge8MB,
    Huge16MB,
    Huge256MB,
    Huge1GB,
    Huge2GB,
    Huge16GB,
}

Page size for a hugetlb anonymous file.

Variants

Huge64KB

64KB hugetlb page.

Huge512KB

64KB hugetlb page.

Huge1MB

1MB hugetlb page.

Huge2MB

2MB hugetlb page.

Huge8MB

8MB hugetlb page.

Huge16MB

16MB hugetlb page.

Huge256MB

256MB hugetlb page.

Huge1GB

1GB hugetlb page.

Huge2GB

2GB hugetlb page.

Huge16GB

16GB hugetlb page.

Trait Implementations

impl Clone for HugetlbSize[src]

impl Copy for HugetlbSize[src]

impl Debug for HugetlbSize[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.