Enum mmap::MemoryMapKind [] [src]

pub enum MemoryMapKind {
    MapFile(*const u8),
    MapVirtual,
}

Type of memory map

Variants

MapFile

Virtual memory map. Usually used to change the permissions of a given chunk of memory. Corresponds to VirtualAlloc on Windows.

MapVirtual

Virtual memory map. Usually used to change the permissions of a given chunk of memory, or for allocation. Corresponds to VirtualAlloc on Windows.

Trait Implementations

Derived Implementations

impl Clone for MemoryMapKind

fn clone(&self) -> MemoryMapKind

fn clone_from(&mut self, source: &Self)

impl Copy for MemoryMapKind