pub enum VmRegionKind {
Anonymous,
FileBacked,
Stack {
max_pages: usize,
},
SwapBacked,
}Variants§
Anonymous
Anonymous mapping, suitable for mmap-like heap/scratch regions.
FileBacked
File-backed mapping bookkeeping. Actual file page-in is a later kernel step.
Stack
Grow-down user stack reservation with a bounded maximum size.
SwapBacked
Swap-backed anonymous reservation. Swap I/O is a later kernel step.
Trait Implementations§
Source§impl Clone for VmRegionKind
impl Clone for VmRegionKind
Source§fn clone(&self) -> VmRegionKind
fn clone(&self) -> VmRegionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VmRegionKind
Source§impl Debug for VmRegionKind
impl Debug for VmRegionKind
impl Eq for VmRegionKind
Source§impl PartialEq for VmRegionKind
impl PartialEq for VmRegionKind
impl StructuralPartialEq for VmRegionKind
Auto Trait Implementations§
impl Freeze for VmRegionKind
impl RefUnwindSafe for VmRegionKind
impl Send for VmRegionKind
impl Sync for VmRegionKind
impl Unpin for VmRegionKind
impl UnsafeUnpin for VmRegionKind
impl UnwindSafe for VmRegionKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more