pub struct TdgMemPageReleaseRcxResult(/* private fields */);Implementations§
Source§impl TdgMemPageReleaseRcxResult
impl TdgMemPageReleaseRcxResult
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 release 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 release 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 release 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 release 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 release 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..61
Sourcepub const fn with_reserved2(self, value: u64) -> Self
pub const fn with_reserved2(self, value: u64) -> Self
Bits: 52..61
Sourcepub const fn set_reserved2(&mut self, value: u64)
pub const fn set_reserved2(&mut self, value: u64)
Bits: 52..61
Sourcepub const fn with_mmio_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mmio_checked(self, value: bool) -> Result<Self, ()>
Bits: 61..62
Sourcepub const fn with_pending_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pending_checked(self, value: bool) -> Result<Self, ()>
Bits: 62..63
Sourcepub const fn with_pending(self, value: bool) -> Self
pub const fn with_pending(self, value: bool) -> Self
Bits: 62..63
Sourcepub const fn set_pending(&mut self, value: bool)
pub const fn set_pending(&mut self, value: bool)
Bits: 62..63
Sourcepub const fn with_reserved3_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_reserved3_checked(self, value: u8) -> Result<Self, ()>
Bits: 63..64
Sourcepub const fn with_reserved3(self, value: u8) -> Self
pub const fn with_reserved3(self, value: u8) -> Self
Bits: 63..64
Sourcepub const fn set_reserved3(&mut self, value: u8)
pub const fn set_reserved3(&mut self, value: u8)
Bits: 63..64
Trait Implementations§
Source§impl Clone for TdgMemPageReleaseRcxResult
impl Clone for TdgMemPageReleaseRcxResult
Source§fn clone(&self) -> TdgMemPageReleaseRcxResult
fn clone(&self) -> TdgMemPageReleaseRcxResult
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 TdgMemPageReleaseRcxResult
impl Debug for TdgMemPageReleaseRcxResult
Source§impl Default for TdgMemPageReleaseRcxResult
impl Default for TdgMemPageReleaseRcxResult
Source§impl From<TdgMemPageReleaseRcxResult> for u64
impl From<TdgMemPageReleaseRcxResult> for u64
Source§fn from(v: TdgMemPageReleaseRcxResult) -> u64
fn from(v: TdgMemPageReleaseRcxResult) -> u64
Converts to this type from the input type.
Source§impl From<u64> for TdgMemPageReleaseRcxResult
impl From<u64> for TdgMemPageReleaseRcxResult
impl Copy for TdgMemPageReleaseRcxResult
Auto Trait Implementations§
impl Freeze for TdgMemPageReleaseRcxResult
impl RefUnwindSafe for TdgMemPageReleaseRcxResult
impl Send for TdgMemPageReleaseRcxResult
impl Sync for TdgMemPageReleaseRcxResult
impl Unpin for TdgMemPageReleaseRcxResult
impl UnsafeUnpin for TdgMemPageReleaseRcxResult
impl UnwindSafe for TdgMemPageReleaseRcxResult
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