pub struct MappingInfo {
pub iova: u64,
pub gpa: GuestAddress,
pub size: u64,
pub prot: Protection,
}Expand description
Manages the mapping from a guest IO virtual address space to the guest physical address space
Fields§
§iova: u64§gpa: GuestAddress§size: u64§prot: ProtectionImplementations§
Source§impl MappingInfo
impl MappingInfo
fn new( iova: u64, gpa: GuestAddress, size: u64, prot: Protection, ) -> Result<Self>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MappingInfo
impl RefUnwindSafe for MappingInfo
impl Send for MappingInfo
impl Sync for MappingInfo
impl Unpin for MappingInfo
impl UnwindSafe for MappingInfo
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