#[non_exhaustive]pub enum PhysicalProtection {
ProtectionAttested,
ProtectionConfirmedAbsent,
ProtectionUnknown,
}Expand description
Physical protection independently reported by the provider.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ProtectionAttested
Current evidence confirms the requested protection.
ProtectionConfirmedAbsent
Current evidence conclusively says protection is absent.
ProtectionUnknown
The provider cannot currently establish physical posture.
Trait Implementations§
Source§impl Clone for PhysicalProtection
impl Clone for PhysicalProtection
Source§fn clone(&self) -> PhysicalProtection
fn clone(&self) -> PhysicalProtection
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 PhysicalProtection
Source§impl Debug for PhysicalProtection
impl Debug for PhysicalProtection
impl Eq for PhysicalProtection
Source§impl Hash for PhysicalProtection
impl Hash for PhysicalProtection
Source§impl PartialEq for PhysicalProtection
impl PartialEq for PhysicalProtection
impl StructuralPartialEq for PhysicalProtection
Auto Trait Implementations§
impl Freeze for PhysicalProtection
impl RefUnwindSafe for PhysicalProtection
impl Send for PhysicalProtection
impl Sync for PhysicalProtection
impl Unpin for PhysicalProtection
impl UnsafeUnpin for PhysicalProtection
impl UnwindSafe for PhysicalProtection
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