pub struct SnpLinuxDirectConfig {
pub policy: SnpPolicy,
pub c_bit_mask: u64,
pub ram_page_count: u64,
pub vmsa_page: Option<u64>,
pub injection_type: InjectionType,
}Expand description
Additional finalization needed by a self-contained SNP Linux-direct image.
Fields§
§policy: SnpPolicy§c_bit_mask: u64§ram_page_count: u64§vmsa_page: Option<u64>§injection_type: InjectionTypeTrait Implementations§
Source§impl Clone for SnpLinuxDirectConfig
impl Clone for SnpLinuxDirectConfig
Source§fn clone(&self) -> SnpLinuxDirectConfig
fn clone(&self) -> SnpLinuxDirectConfig
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 SnpLinuxDirectConfig
impl Debug for SnpLinuxDirectConfig
impl Copy for SnpLinuxDirectConfig
Auto Trait Implementations§
impl Freeze for SnpLinuxDirectConfig
impl RefUnwindSafe for SnpLinuxDirectConfig
impl Send for SnpLinuxDirectConfig
impl Sync for SnpLinuxDirectConfig
impl Unpin for SnpLinuxDirectConfig
impl UnsafeUnpin for SnpLinuxDirectConfig
impl UnwindSafe for SnpLinuxDirectConfig
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