pub enum WindowsSoftwareFallback {
Disabled,
VmOnly,
}Expand description
Policy for using a software-backed Windows credential store when the TPM-backed Platform Crypto Provider cannot create or open a key.
Variants§
Disabled
Never fall back from Windows TPM-backed storage.
VmOnly
Fall back only when enclave detects both a TPM failure and a VM environment. This is intended for virtualized hosts that lack TPM 2.0 passthrough, while keeping physical machines fail-closed instead of silently downgrading.
Trait Implementations§
Source§impl Clone for WindowsSoftwareFallback
impl Clone for WindowsSoftwareFallback
Source§fn clone(&self) -> WindowsSoftwareFallback
fn clone(&self) -> WindowsSoftwareFallback
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 WindowsSoftwareFallback
impl Debug for WindowsSoftwareFallback
Source§impl PartialEq for WindowsSoftwareFallback
impl PartialEq for WindowsSoftwareFallback
Source§fn eq(&self, other: &WindowsSoftwareFallback) -> bool
fn eq(&self, other: &WindowsSoftwareFallback) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WindowsSoftwareFallback
impl Eq for WindowsSoftwareFallback
impl StructuralPartialEq for WindowsSoftwareFallback
Auto Trait Implementations§
impl Freeze for WindowsSoftwareFallback
impl RefUnwindSafe for WindowsSoftwareFallback
impl Send for WindowsSoftwareFallback
impl Sync for WindowsSoftwareFallback
impl Unpin for WindowsSoftwareFallback
impl UnsafeUnpin for WindowsSoftwareFallback
impl UnwindSafe for WindowsSoftwareFallback
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.