[][src]Enum allocator_suite::memory_sources::mmap::huge_page_size::HugePageSize

#[repr(i32)]
pub enum HugePageSize {
    None,
}

Request that an allocation uses huge pages.

The allocation being requested has to be aligned to the size requested, viz it is best to only make allocations that use the configured huge page size.

On x86-64, this should be 2Mb or 1Gb.

Currently such requests assume that transparent huge pages are in effect.

On operating systems other than Android and Linux, huge page size has no effect.

Variants

None

Regular, non-huge-page.

Trait Implementations

impl Clone for HugePageSize[src]

impl Copy for HugePageSize[src]

impl Default for HugePageSize[src]

impl Eq for HugePageSize[src]

impl Ord for HugePageSize[src]

impl PartialEq<HugePageSize> for HugePageSize[src]

impl PartialOrd<HugePageSize> for HugePageSize[src]

impl Debug for HugePageSize[src]

impl Hash for HugePageSize[src]

impl StructuralPartialEq for HugePageSize[src]

impl StructuralEq for HugePageSize[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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