Trait guestmem::LinearGuestMemory
source · pub trait LinearGuestMemory: GuestMemoryAccess { }
Expand description
A trait for a guest memory backing that is fully available via a virtual
address mapping, as opposed to the fallback functions such as
GuestMemoryAccess::read_fallback
.
By implementing this trait, a type guarantees that its
GuestMemoryAccess::mapping
will return Some(_)
and that all of its
memory can be accessed through that mapping, without needing to call the
fallback functions.