pub struct VmcsField(/* private fields */);
Implementations§
Source§impl VmcsField
impl VmcsField
Sourcepub const fn access_high(&self) -> u32
pub const fn access_high(&self) -> u32
Bits: 0..1
Sourcepub const fn with_access_high_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_access_high_checked(self, value: u32) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_access_high(self, value: u32) -> Self
pub const fn with_access_high(self, value: u32) -> Self
Bits: 0..1
Sourcepub const fn set_access_high(&mut self, value: u32)
pub const fn set_access_high(&mut self, value: u32)
Bits: 0..1
Sourcepub const fn with_index_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_index_checked(self, value: u32) -> Result<Self, ()>
Bits: 1..10
Sourcepub const fn with_index(self, value: u32) -> Self
pub const fn with_index(self, value: u32) -> Self
Bits: 1..10
Sourcepub const fn with_typ_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_typ_checked(self, value: u32) -> Result<Self, ()>
Bits: 10..12
Sourcepub const fn with_reserved_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_reserved_checked(self, value: u32) -> Result<Self, ()>
Bits: 12..13
Sourcepub const fn with_reserved(self, value: u32) -> Self
pub const fn with_reserved(self, value: u32) -> Self
Bits: 12..13
Sourcepub const fn set_reserved(&mut self, value: u32)
pub const fn set_reserved(&mut self, value: u32)
Bits: 12..13
Sourcepub const fn field_width(&self) -> FieldWidth
pub const fn field_width(&self) -> FieldWidth
Bits: 13..15
Sourcepub const fn with_field_width_checked(
self,
value: FieldWidth,
) -> Result<Self, ()>
pub const fn with_field_width_checked( self, value: FieldWidth, ) -> Result<Self, ()>
Bits: 13..15
Sourcepub const fn with_field_width(self, value: FieldWidth) -> Self
pub const fn with_field_width(self, value: FieldWidth) -> Self
Bits: 13..15
Sourcepub const fn set_field_width(&mut self, value: FieldWidth)
pub const fn set_field_width(&mut self, value: FieldWidth)
Bits: 13..15
Sourcepub const fn set_field_width_checked(
&mut self,
value: FieldWidth,
) -> Result<(), ()>
pub const fn set_field_width_checked( &mut self, value: FieldWidth, ) -> Result<(), ()>
Bits: 13..15
Sourcepub const fn with_reserved2_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_reserved2_checked(self, value: u32) -> Result<Self, ()>
Bits: 15..32
Sourcepub const fn with_reserved2(self, value: u32) -> Self
pub const fn with_reserved2(self, value: u32) -> Self
Bits: 15..32
Sourcepub const fn set_reserved2(&mut self, value: u32)
pub const fn set_reserved2(&mut self, value: u32)
Bits: 15..32
Source§impl VmcsField
impl VmcsField
pub const VMX_VMCS_ENTRY_CONTROLS: Self
pub const VMX_VMCS_GUEST_CR0: Self
pub const VMX_VMCS_GUEST_CR3: Self
pub const VMX_VMCS_GUEST_CR4: Self
pub const VMX_VMCS_GUEST_DR7: Self
pub const VMX_VMCS_GUEST_ES_SELECTOR: Self
pub const VMX_VMCS_GUEST_ES_BASE: Self
pub const VMX_VMCS_GUEST_ES_LIMIT: Self
pub const VMX_VMCS_GUEST_ES_AR: Self
pub const VMX_VMCS_GUEST_CS_SELECTOR: Self
pub const VMX_VMCS_GUEST_CS_BASE: Self
pub const VMX_VMCS_GUEST_CS_LIMIT: Self
pub const VMX_VMCS_GUEST_CS_AR: Self
pub const VMX_VMCS_GUEST_SS_SELECTOR: Self
pub const VMX_VMCS_GUEST_SS_BASE: Self
pub const VMX_VMCS_GUEST_SS_LIMIT: Self
pub const VMX_VMCS_GUEST_SS_AR: Self
pub const VMX_VMCS_GUEST_DS_SELECTOR: Self
pub const VMX_VMCS_GUEST_DS_BASE: Self
pub const VMX_VMCS_GUEST_DS_LIMIT: Self
pub const VMX_VMCS_GUEST_DS_AR: Self
pub const VMX_VMCS_GUEST_FS_SELECTOR: Self
pub const VMX_VMCS_GUEST_FS_BASE: Self
pub const VMX_VMCS_GUEST_FS_LIMIT: Self
pub const VMX_VMCS_GUEST_FS_AR: Self
pub const VMX_VMCS_GUEST_GS_SELECTOR: Self
pub const VMX_VMCS_GUEST_GS_BASE: Self
pub const VMX_VMCS_GUEST_GS_LIMIT: Self
pub const VMX_VMCS_GUEST_GS_AR: Self
pub const VMX_VMCS_GUEST_LDTR_SELECTOR: Self
pub const VMX_VMCS_GUEST_LDTR_BASE: Self
pub const VMX_VMCS_GUEST_LDTR_LIMIT: Self
pub const VMX_VMCS_GUEST_LDTR_AR: Self
pub const VMX_VMCS_GUEST_TR_SELECTOR: Self
pub const VMX_VMCS_GUEST_TR_BASE: Self
pub const VMX_VMCS_GUEST_TR_LIMIT: Self
pub const VMX_VMCS_GUEST_TR_AR: Self
pub const VMX_VMCS_GUEST_GDTR_BASE: Self
pub const VMX_VMCS_GUEST_GDTR_LIMIT: Self
pub const VMX_VMCS_GUEST_IDTR_BASE: Self
pub const VMX_VMCS_GUEST_IDTR_LIMIT: Self
pub const VMX_VMCS_GUEST_PAT: Self
pub const VMX_VMCS_GUEST_EFER: Self
pub const VMX_VMCS_VIRTUAL_APIC_PAGE: Self
pub const VMX_VMCS_EOI_EXIT_0: Self
pub const VMX_VMCS_EOI_EXIT_1: Self
pub const VMX_VMCS_EOI_EXIT_2: Self
pub const VMX_VMCS_EOI_EXIT_3: Self
pub const VMX_VMCS_PROCESSOR_CONTROLS: Self
pub const VMX_VMCS_EXCEPTION_BITMAP: Self
pub const VMX_VMCS_ENTRY_INTERRUPT_INFO: Self
pub const VMX_VMCS_ENTRY_EXCEPTION_ERROR_CODE: Self
pub const VMX_VMCS_ENTRY_INSTRUCTION_LENGTH: Self
pub const VMX_VMCS_TPR_THRESHOLD: Self
pub const VMX_VMCS_SECONDARY_PROCESSOR_CONTROLS: Self
pub const VMX_VMCS_CR0_GUEST_HOST_MASK: Self
pub const VMX_VMCS_CR4_GUEST_HOST_MASK: Self
pub const VMX_VMCS_CR0_READ_SHADOW: Self
pub const VMX_VMCS_CR4_READ_SHADOW: Self
pub const VMX_VMCS_GUEST_INTERRUPTIBILITY: Self
pub const VMX_VMCS_GUEST_SYSENTER_CS_MSR: Self
pub const VMX_VMCS_GUEST_SYSENTER_ESP_MSR: Self
pub const VMX_VMCS_GUEST_SYSENTER_EIP_MSR: Self
Trait Implementations§
impl Copy for VmcsField
Auto Trait Implementations§
impl Freeze for VmcsField
impl RefUnwindSafe for VmcsField
impl Send for VmcsField
impl Sync for VmcsField
impl Unpin for VmcsField
impl UnwindSafe for VmcsField
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