pub struct BoxRuntimeSevSnpConfig {
pub generation: SevSnpGeneration,
pub simulate: bool,
pub attestation_policy: AttestationPolicy,
}Expand description
Explicit AMD SEV-SNP policy for a confidential Box Runtime provider.
Hardware mode is the secure default. Simulation is advertised distinctly
and is accepted only when the caller opts in with simulate: true.
Fields§
§generation: SevSnpGenerationCPU generation used to build the guest firmware configuration.
simulate: boolAccept a simulated SNP report instead of requiring genuine hardware.
attestation_policy: AttestationPolicyPolicy enforced during the RA-TLS attestation handshake.
Trait Implementations§
Source§impl Clone for BoxRuntimeSevSnpConfig
impl Clone for BoxRuntimeSevSnpConfig
Source§fn clone(&self) -> BoxRuntimeSevSnpConfig
fn clone(&self) -> BoxRuntimeSevSnpConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BoxRuntimeSevSnpConfig
impl Debug for BoxRuntimeSevSnpConfig
Source§impl Default for BoxRuntimeSevSnpConfig
impl Default for BoxRuntimeSevSnpConfig
Source§fn default() -> BoxRuntimeSevSnpConfig
fn default() -> BoxRuntimeSevSnpConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BoxRuntimeSevSnpConfig
impl RefUnwindSafe for BoxRuntimeSevSnpConfig
impl Send for BoxRuntimeSevSnpConfig
impl Sync for BoxRuntimeSevSnpConfig
impl Unpin for BoxRuntimeSevSnpConfig
impl UnsafeUnpin for BoxRuntimeSevSnpConfig
impl UnwindSafe for BoxRuntimeSevSnpConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more