pub struct VmxExit(/* private fields */);
Expand description
VMX exit reason
Implementations§
Source§impl VmxExit
impl VmxExit
Sourcepub const fn basic_reason(&self) -> VmxExitBasic
pub const fn basic_reason(&self) -> VmxExitBasic
Bits: 0..16
Sourcepub const fn with_basic_reason_checked(
self,
value: VmxExitBasic,
) -> Result<Self, ()>
pub const fn with_basic_reason_checked( self, value: VmxExitBasic, ) -> Result<Self, ()>
Bits: 0..16
Sourcepub const fn with_basic_reason(self, value: VmxExitBasic) -> Self
pub const fn with_basic_reason(self, value: VmxExitBasic) -> Self
Bits: 0..16
Sourcepub const fn set_basic_reason(&mut self, value: VmxExitBasic)
pub const fn set_basic_reason(&mut self, value: VmxExitBasic)
Bits: 0..16
Sourcepub const fn set_basic_reason_checked(
&mut self,
value: VmxExitBasic,
) -> Result<(), ()>
pub const fn set_basic_reason_checked( &mut self, value: VmxExitBasic, ) -> Result<(), ()>
Bits: 0..16
Sourcepub const fn bus_lock_preempted(&self) -> bool
pub const fn bus_lock_preempted(&self) -> bool
Bits: 26..27
Sourcepub const fn with_bus_lock_preempted_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_bus_lock_preempted_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 26..27
Sourcepub const fn with_bus_lock_preempted(self, value: bool) -> Self
pub const fn with_bus_lock_preempted(self, value: bool) -> Self
Bits: 26..27
Sourcepub const fn set_bus_lock_preempted(&mut self, value: bool)
pub const fn set_bus_lock_preempted(&mut self, value: bool)
Bits: 26..27
Sourcepub const fn set_bus_lock_preempted_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_bus_lock_preempted_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 26..27
Sourcepub const fn enclave_interruption(&self) -> bool
pub const fn enclave_interruption(&self) -> bool
Bits: 27..28
Sourcepub const fn with_enclave_interruption_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_enclave_interruption_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 27..28
Sourcepub const fn with_enclave_interruption(self, value: bool) -> Self
pub const fn with_enclave_interruption(self, value: bool) -> Self
Bits: 27..28
Sourcepub const fn set_enclave_interruption(&mut self, value: bool)
pub const fn set_enclave_interruption(&mut self, value: bool)
Bits: 27..28
Sourcepub const fn set_enclave_interruption_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_enclave_interruption_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 27..28
Sourcepub const fn pending_mtf(&self) -> bool
pub const fn pending_mtf(&self) -> bool
Bits: 28..29
Sourcepub const fn with_pending_mtf_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pending_mtf_checked(self, value: bool) -> Result<Self, ()>
Bits: 28..29
Sourcepub const fn with_pending_mtf(self, value: bool) -> Self
pub const fn with_pending_mtf(self, value: bool) -> Self
Bits: 28..29
Sourcepub const fn set_pending_mtf(&mut self, value: bool)
pub const fn set_pending_mtf(&mut self, value: bool)
Bits: 28..29
Sourcepub const fn vm_enter_failed(&self) -> bool
pub const fn vm_enter_failed(&self) -> bool
Bits: 31..32
Sourcepub const fn with_vm_enter_failed_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_vm_enter_failed_checked(self, value: bool) -> Result<Self, ()>
Bits: 31..32
Sourcepub const fn with_vm_enter_failed(self, value: bool) -> Self
pub const fn with_vm_enter_failed(self, value: bool) -> Self
Bits: 31..32
Sourcepub const fn set_vm_enter_failed(&mut self, value: bool)
pub const fn set_vm_enter_failed(&mut self, value: bool)
Bits: 31..32
Trait Implementations§
impl Copy for VmxExit
impl Eq for VmxExit
impl StructuralPartialEq for VmxExit
Auto Trait Implementations§
impl Freeze for VmxExit
impl RefUnwindSafe for VmxExit
impl Send for VmxExit
impl Sync for VmxExit
impl Unpin for VmxExit
impl UnwindSafe for VmxExit
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