Enum std::os::MemoryMapKindUnstable [-] [+] [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 Copy for MemoryMapKind