Expand description
The default implementation for the GuestMemory
trait.
This implementation is mmap-ing the memory of the guest into the current process.
Structs§
- Guest
Memory Mmap GuestMemory
implementation that mmaps the guest’s memory in the current process.- Guest
Region Mmap GuestMemoryRegion
implementation that mmaps the guest’s memory region in the current process.- Iter
- An iterator over the elements of
GuestMemoryMmap
. - Mmap
Region - Helper structure for working with mmaped memory regions in Unix.
- Mmap
Region Builder - A factory struct to build
MmapRegion
objects.
Enums§
- Error
- Errors that can occur when creating a memory map.
- Mmap
Region Error - Error conditions that may arise when creating a new
MmapRegion
object.
Traits§
- NewBitmap
- A
Bitmap
that can be created starting from an initial size.
Functions§
- check_
file_ offset - Checks if a mapping of
size
bytes fits at the providedfile_offset
.