pub struct MmioRegion {
pub host_phys: u64,
pub guest_phys: u64,
pub size: u64,
pub mapped: bool,
}Expand description
MMIO region mapping for passthrough device
Fields§
§host_phys: u64Host physical address
guest_phys: u64Guest physical address (mapped into guest EPT)
size: u64Region size in bytes
mapped: boolWhether the region is currently mapped
Trait Implementations§
Source§impl Clone for MmioRegion
impl Clone for MmioRegion
Source§fn clone(&self) -> MmioRegion
fn clone(&self) -> MmioRegion
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MmioRegion
impl Debug for MmioRegion
Source§impl PartialEq for MmioRegion
impl PartialEq for MmioRegion
impl Copy for MmioRegion
impl Eq for MmioRegion
impl StructuralPartialEq for MmioRegion
Auto Trait Implementations§
impl Freeze for MmioRegion
impl RefUnwindSafe for MmioRegion
impl Send for MmioRegion
impl Sync for MmioRegion
impl Unpin for MmioRegion
impl UnwindSafe for MmioRegion
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)