pub struct TrustedExecutionEnvironment {
pub firmware: Option<ItemHash>,
pub policy: u32,
}Fields§
§firmware: Option<ItemHash>OVMF firmware to use.
policy: u32SEV Policy. The default value is 0x01 for SEV without debugging.
Trait Implementations§
Source§impl Clone for TrustedExecutionEnvironment
impl Clone for TrustedExecutionEnvironment
Source§fn clone(&self) -> TrustedExecutionEnvironment
fn clone(&self) -> TrustedExecutionEnvironment
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 TrustedExecutionEnvironment
impl Debug for TrustedExecutionEnvironment
Source§impl<'de> Deserialize<'de> for TrustedExecutionEnvironment
impl<'de> Deserialize<'de> for TrustedExecutionEnvironment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TrustedExecutionEnvironment
Auto Trait Implementations§
impl Freeze for TrustedExecutionEnvironment
impl RefUnwindSafe for TrustedExecutionEnvironment
impl Send for TrustedExecutionEnvironment
impl Sync for TrustedExecutionEnvironment
impl Unpin for TrustedExecutionEnvironment
impl UnsafeUnpin for TrustedExecutionEnvironment
impl UnwindSafe for TrustedExecutionEnvironment
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