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 GuestMemoryimplementation that mmaps the guest’s memory in the current process.- Guest
Region Mmap GuestMemoryRegionimplementation 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
MmapRegionobjects.
Enums§
- Error
- Errors that can occur when creating a memory map.
- Mmap
Region Error - Error conditions that may arise when creating a new
MmapRegionobject.
Traits§
- NewBitmap
- A
Bitmapthat can be created starting from an initial size.
Functions§
- check_
file_ offset - Checks if a mapping of
sizebytes fits at the providedfile_offset.