pub struct KvmIoExit {
pub direction: IoDirection,
pub port: u16,
pub size: u8,
pub data: u32,
}Expand description
Information about an I/O port VM exit
Fields§
§direction: IoDirectionDirection of I/O access
port: u16I/O port number
size: u8Access size in bytes (1, 2, or 4)
data: u32Data value (for Out) or buffer for read (for In)
Trait Implementations§
impl Copy for KvmIoExit
Auto Trait Implementations§
impl Freeze for KvmIoExit
impl RefUnwindSafe for KvmIoExit
impl Send for KvmIoExit
impl Sync for KvmIoExit
impl Unpin for KvmIoExit
impl UnwindSafe for KvmIoExit
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)