pub struct SnpVpContext {
pub gpa: u64,
pub vp_index: VpIndex,
pub page: Box<[u8; 4096]>,
}Expand description
An opaque SNP virtual processor context.
Fields§
§gpa: u64The guest physical address associated with the context.
vp_index: VpIndexThe virtual processor described by the context.
page: Box<[u8; 4096]>The complete 4-KiB VMSA page.
Trait Implementations§
Source§impl Clone for SnpVpContext
impl Clone for SnpVpContext
Source§fn clone(&self) -> SnpVpContext
fn clone(&self) -> SnpVpContext
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 SnpVpContext
impl Debug for SnpVpContext
Source§impl PartialEq for SnpVpContext
impl PartialEq for SnpVpContext
impl Eq for SnpVpContext
impl StructuralPartialEq for SnpVpContext
Auto Trait Implementations§
impl Freeze for SnpVpContext
impl RefUnwindSafe for SnpVpContext
impl Send for SnpVpContext
impl Sync for SnpVpContext
impl Unpin for SnpVpContext
impl UnsafeUnpin for SnpVpContext
impl UnwindSafe for SnpVpContext
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