[][src]Enum syscall::flag::PartialAllocStrategy

#[repr(usize)]pub enum PartialAllocStrategy {
    Optimal,
    GreatestRange,
    Greedy,
}

Variants

Optimal

The allocator decides itself the size of the memory range, based on e.g. free memory ranges and other processes which require large physical memory chunks.

GreatestRange

The allocator returns the absolute greatest range it can find.

Greedy

The allocator returns the first range that fits the minimum count, without searching extra.

Implementations

impl PartialAllocStrategy[src]

pub fn from_raw(raw: usize) -> Option<Self>[src]

Trait Implementations

impl Clone for PartialAllocStrategy[src]

impl Copy for PartialAllocStrategy[src]

impl Debug for PartialAllocStrategy[src]

impl Default for PartialAllocStrategy[src]

impl Eq for PartialAllocStrategy[src]

impl Hash for PartialAllocStrategy[src]

impl PartialEq<PartialAllocStrategy> for PartialAllocStrategy[src]

impl StructuralEq for PartialAllocStrategy[src]

impl StructuralPartialEq for PartialAllocStrategy[src]

Auto Trait Implementations

impl Send for PartialAllocStrategy

impl Sync for PartialAllocStrategy

impl Unpin for PartialAllocStrategy

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, 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.