pub struct TdgMemPageAttrGpaMappingReadRcxResult(/* private fields */);
Implementations§
Source§impl TdgMemPageAttrGpaMappingReadRcxResult
impl TdgMemPageAttrGpaMappingReadRcxResult
Sourcepub const fn level(&self) -> TdgMemPageLevel
pub const fn level(&self) -> TdgMemPageLevel
Bits: 0..3
Sourcepub const fn with_level_checked(
self,
value: TdgMemPageLevel,
) -> Result<Self, ()>
pub const fn with_level_checked( self, value: TdgMemPageLevel, ) -> Result<Self, ()>
Bits: 0..3
Sourcepub const fn with_level(self, value: TdgMemPageLevel) -> Self
pub const fn with_level(self, value: TdgMemPageLevel) -> Self
Bits: 0..3
Sourcepub const fn set_level(&mut self, value: TdgMemPageLevel)
pub const fn set_level(&mut self, value: TdgMemPageLevel)
Bits: 0..3
Sourcepub const fn set_level_checked(
&mut self,
value: TdgMemPageLevel,
) -> Result<(), ()>
pub const fn set_level_checked( &mut self, value: TdgMemPageLevel, ) -> Result<(), ()>
Bits: 0..3
Sourcepub const fn with_reserved_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_reserved_checked(self, value: u64) -> Result<Self, ()>
Bits: 3..12
Sourcepub const fn with_reserved(self, value: u64) -> Self
pub const fn with_reserved(self, value: u64) -> Self
Bits: 3..12
Sourcepub const fn set_reserved(&mut self, value: u64)
pub const fn set_reserved(&mut self, value: u64)
Bits: 3..12
Sourcepub const fn gpa_page_number(&self) -> u64
pub const fn gpa_page_number(&self) -> u64
The page number for this accept call.
Bits: 12..52
Sourcepub const fn with_gpa_page_number_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_gpa_page_number_checked(self, value: u64) -> Result<Self, ()>
The page number for this accept call.
Bits: 12..52
Sourcepub const fn with_gpa_page_number(self, value: u64) -> Self
pub const fn with_gpa_page_number(self, value: u64) -> Self
The page number for this accept call.
Bits: 12..52
Sourcepub const fn set_gpa_page_number(&mut self, value: u64)
pub const fn set_gpa_page_number(&mut self, value: u64)
The page number for this accept call.
Bits: 12..52
Sourcepub const fn set_gpa_page_number_checked(
&mut self,
value: u64,
) -> Result<(), ()>
pub const fn set_gpa_page_number_checked( &mut self, value: u64, ) -> Result<(), ()>
The page number for this accept call.
Bits: 12..52
Sourcepub const fn with_reserved2_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_reserved2_checked(self, value: u64) -> Result<Self, ()>
Bits: 52..62
Sourcepub const fn with_reserved2(self, value: u64) -> Self
pub const fn with_reserved2(self, value: u64) -> Self
Bits: 52..62
Sourcepub const fn set_reserved2(&mut self, value: u64)
pub const fn set_reserved2(&mut self, value: u64)
Bits: 52..62
Sourcepub const fn pending(&self) -> u8
pub const fn pending(&self) -> u8
If this page’s attributes are pending, meaning it will be applied when the page is accepted.
Bits: 62..63
Sourcepub const fn with_pending_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_pending_checked(self, value: u8) -> Result<Self, ()>
If this page’s attributes are pending, meaning it will be applied when the page is accepted.
Bits: 62..63
Sourcepub const fn with_pending(self, value: u8) -> Self
pub const fn with_pending(self, value: u8) -> Self
If this page’s attributes are pending, meaning it will be applied when the page is accepted.
Bits: 62..63
Sourcepub const fn set_pending(&mut self, value: u8)
pub const fn set_pending(&mut self, value: u8)
If this page’s attributes are pending, meaning it will be applied when the page is accepted.
Bits: 62..63
Sourcepub const fn set_pending_checked(&mut self, value: u8) -> Result<(), ()>
pub const fn set_pending_checked(&mut self, value: u8) -> Result<(), ()>
If this page’s attributes are pending, meaning it will be applied when the page is accepted.
Bits: 62..63
Sourcepub const fn with_reserved3_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_reserved3_checked(self, value: u64) -> Result<Self, ()>
Bits: 63..64
Sourcepub const fn with_reserved3(self, value: u64) -> Self
pub const fn with_reserved3(self, value: u64) -> Self
Bits: 63..64
Sourcepub const fn set_reserved3(&mut self, value: u64)
pub const fn set_reserved3(&mut self, value: u64)
Bits: 63..64
Trait Implementations§
Source§impl Clone for TdgMemPageAttrGpaMappingReadRcxResult
impl Clone for TdgMemPageAttrGpaMappingReadRcxResult
Source§fn clone(&self) -> TdgMemPageAttrGpaMappingReadRcxResult
fn clone(&self) -> TdgMemPageAttrGpaMappingReadRcxResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more