pub enum TrustPolicy {
Strict,
WarnOnly,
AllowUntrusted,
}Variants§
Implementations§
Source§impl TrustPolicy
impl TrustPolicy
Sourcepub const RequireAttestation: TrustPolicy = TrustPolicy::Strict
pub const RequireAttestation: TrustPolicy = TrustPolicy::Strict
Alias for strict attestation enforcement (rejects untrusted identities).
Trait Implementations§
Source§impl Clone for TrustPolicy
impl Clone for TrustPolicy
Source§fn clone(&self) -> TrustPolicy
fn clone(&self) -> TrustPolicy
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 moreimpl Copy for TrustPolicy
Source§impl Debug for TrustPolicy
impl Debug for TrustPolicy
impl Eq for TrustPolicy
Source§impl PartialEq for TrustPolicy
impl PartialEq for TrustPolicy
Source§fn eq(&self, other: &TrustPolicy) -> bool
fn eq(&self, other: &TrustPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TrustPolicy
Auto Trait Implementations§
impl Freeze for TrustPolicy
impl RefUnwindSafe for TrustPolicy
impl Send for TrustPolicy
impl Sync for TrustPolicy
impl Unpin for TrustPolicy
impl UnsafeUnpin for TrustPolicy
impl UnwindSafe for TrustPolicy
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