pub enum MemPerm {
None,
Read,
Write,
ReadWrite,
Exec,
ExecWrite,
ExecRead,
ExecReadWrite,
}
Expand description
Guest physical memory region permissions
Variants§
None
No access
Read
Read
Write
Write
ReadWrite
Read and write access
Exec
Execute
ExecWrite
Execute and write
ExecRead
Execute and read
ExecReadWrite
Execute, read and write
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemPerm
impl RefUnwindSafe for MemPerm
impl Send for MemPerm
impl Sync for MemPerm
impl Unpin for MemPerm
impl UnwindSafe for MemPerm
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