#[repr(u32)]pub enum VmExitReason {
Show 63 variants
ExceptionOrNmi = 0,
ExternalInterrupt = 1,
TripleFault = 2,
InitSignal = 3,
StartupIpi = 4,
IoSmi = 5,
OtherSmi = 6,
InterruptWindow = 7,
NmiWindow = 8,
TaskSwitch = 9,
Cpuid = 10,
Getsec = 11,
Hlt = 12,
Invd = 13,
Invlpg = 14,
Rdpmc = 15,
Rdtsc = 16,
Rsm = 17,
Vmcall = 18,
Vmclear = 19,
Vmlaunch = 20,
Vmptrld = 21,
Vmptrst = 22,
Vmread = 23,
Vmresume = 24,
Vmwrite = 25,
Vmxoff = 26,
Vmxon = 27,
ControlRegisterAccess = 28,
MovDr = 29,
IoInstruction = 30,
Rdmsr = 31,
Wrmsr = 32,
EntryFailInvalidGuestState = 33,
EntryFailMsrLoading = 34,
Mwait = 36,
MonitorTrapFlag = 37,
Monitor = 39,
Pause = 40,
EntryFailMachineCheck = 41,
TprBelowThreshold = 43,
ApicAccess = 44,
VirtualizedEoi = 45,
GdtrIdtrAccess = 46,
LdtrTrAccess = 47,
EptViolation = 48,
EptMisconfiguration = 49,
Invept = 50,
Rdtscp = 51,
VmxPreemptionTimerExpired = 52,
Invvpid = 53,
WbinvdWbnoinvd = 54,
Xsetbv = 55,
ApicWrite = 56,
Rdrand = 57,
Invpcid = 58,
Vmfunc = 59,
Encls = 60,
Rdseed = 61,
PageModLogFull = 62,
Xsaves = 63,
Xrstors = 64,
Unknown = 65_535,
}Variants§
ExceptionOrNmi = 0
ExternalInterrupt = 1
TripleFault = 2
InitSignal = 3
StartupIpi = 4
IoSmi = 5
OtherSmi = 6
InterruptWindow = 7
NmiWindow = 8
TaskSwitch = 9
Cpuid = 10
Getsec = 11
Hlt = 12
Invd = 13
Invlpg = 14
Rdpmc = 15
Rdtsc = 16
Rsm = 17
Vmcall = 18
Vmclear = 19
Vmlaunch = 20
Vmptrld = 21
Vmptrst = 22
Vmread = 23
Vmresume = 24
Vmwrite = 25
Vmxoff = 26
Vmxon = 27
ControlRegisterAccess = 28
MovDr = 29
IoInstruction = 30
Rdmsr = 31
Wrmsr = 32
EntryFailInvalidGuestState = 33
EntryFailMsrLoading = 34
Mwait = 36
MonitorTrapFlag = 37
Monitor = 39
Pause = 40
EntryFailMachineCheck = 41
TprBelowThreshold = 43
ApicAccess = 44
VirtualizedEoi = 45
GdtrIdtrAccess = 46
LdtrTrAccess = 47
EptViolation = 48
EptMisconfiguration = 49
Invept = 50
Rdtscp = 51
VmxPreemptionTimerExpired = 52
Invvpid = 53
WbinvdWbnoinvd = 54
Xsetbv = 55
ApicWrite = 56
Rdrand = 57
Invpcid = 58
Vmfunc = 59
Encls = 60
Rdseed = 61
PageModLogFull = 62
Xsaves = 63
Xrstors = 64
Unknown = 65_535
Implementations§
Source§impl VmExitReason
impl VmExitReason
Trait Implementations§
Source§impl Clone for VmExitReason
impl Clone for VmExitReason
Source§fn clone(&self) -> VmExitReason
fn clone(&self) -> VmExitReason
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 VmExitReason
impl Debug for VmExitReason
Source§impl PartialEq for VmExitReason
impl PartialEq for VmExitReason
impl Copy for VmExitReason
impl Eq for VmExitReason
impl StructuralPartialEq for VmExitReason
Auto Trait Implementations§
impl Freeze for VmExitReason
impl RefUnwindSafe for VmExitReason
impl Send for VmExitReason
impl Sync for VmExitReason
impl Unpin for VmExitReason
impl UnwindSafe for VmExitReason
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)