#[repr(C)]
pub union ExitDetails {
pub hw: ExitUnknown,
pub fail_entry: ExitFailEntry,
pub ex: ExitException,
pub io: ExitIo,
pub debug: ExitDebug,
pub mmio: ExitMmio,
pub system_event: ExitSystemEvent,
pub riscv_sbi: ExitRiscvSbi,
pub riscv_csr: ExitRiscvCsr,
pub notify: ExitNotify,
pub memory_fault: ExitMemoryFault,
pub padding: [char; 256],
}
Expand description
Used for the exit_details
field of kvm_run
.
Fields§
§hw: ExitUnknown
§fail_entry: ExitFailEntry
§ex: ExitException
§io: ExitIo
§debug: ExitDebug
§mmio: ExitMmio
§system_event: ExitSystemEvent
§riscv_sbi: ExitRiscvSbi
§riscv_csr: ExitRiscvCsr
§notify: ExitNotify
§memory_fault: ExitMemoryFault
§padding: [char; 256]
Trait Implementations§
Source§impl Clone for ExitDetails
impl Clone for ExitDetails
Source§fn clone(&self) -> ExitDetails
fn clone(&self) -> ExitDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExitDetails
impl Debug for ExitDetails
impl Copy for ExitDetails
Auto Trait Implementations§
impl Freeze for ExitDetails
impl RefUnwindSafe for ExitDetails
impl Send for ExitDetails
impl Sync for ExitDetails
impl Unpin for ExitDetails
impl UnwindSafe for ExitDetails
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