pub enum InitialPageImportType {
Normal,
NormalUnmeasured,
Shared,
VpContext,
Secrets,
Cpuid,
CpuidExtendedState,
}Expand description
Initial page import type for isolated partitions.
Variants§
Normal
A measured page with exclusive guest access.
NormalUnmeasured
An unmeasured page with exclusive guest access.
A page shared between the guest and host.
VpContext
A virtual processor context page.
Secrets
An SNP secrets page.
Cpuid
An SNP CPUID page.
CpuidExtendedState
An SNP CPUID extended state page.
Implementations§
Source§impl InitialPageImportType
impl InitialPageImportType
Sourcepub fn page_visibility(self) -> PageVisibility
pub fn page_visibility(self) -> PageVisibility
Returns the visibility implied by this import type.
Trait Implementations§
Source§impl Clone for InitialPageImportType
impl Clone for InitialPageImportType
Source§fn clone(&self) -> InitialPageImportType
fn clone(&self) -> InitialPageImportType
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 InitialPageImportType
impl Debug for InitialPageImportType
Source§impl Inspect for InitialPageImportType
impl Inspect for InitialPageImportType
Source§impl PartialEq for InitialPageImportType
impl PartialEq for InitialPageImportType
impl Copy for InitialPageImportType
impl Eq for InitialPageImportType
impl StructuralPartialEq for InitialPageImportType
Auto Trait Implementations§
impl Freeze for InitialPageImportType
impl RefUnwindSafe for InitialPageImportType
impl Send for InitialPageImportType
impl Sync for InitialPageImportType
impl Unpin for InitialPageImportType
impl UnsafeUnpin for InitialPageImportType
impl UnwindSafe for InitialPageImportType
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