#[non_exhaustive]pub enum CryptoFipsStatus {
Disabled,
Uninitialized,
Active,
}Expand description
Runtime FIPS attestation state for the selected 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.
Disabled
The build did not request FIPS enforcement.
Uninitialized
FIPS enforcement was compiled in but provider initialization has not run.
Active
The selected provider attested that FIPS mode is active.
Trait Implementations§
Source§impl Clone for CryptoFipsStatus
impl Clone for CryptoFipsStatus
Source§fn clone(&self) -> CryptoFipsStatus
fn clone(&self) -> CryptoFipsStatus
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 CryptoFipsStatus
Source§impl Debug for CryptoFipsStatus
impl Debug for CryptoFipsStatus
impl Eq for CryptoFipsStatus
Source§impl Hash for CryptoFipsStatus
impl Hash for CryptoFipsStatus
Source§impl PartialEq for CryptoFipsStatus
impl PartialEq for CryptoFipsStatus
impl StructuralPartialEq for CryptoFipsStatus
Auto Trait Implementations§
impl Freeze for CryptoFipsStatus
impl RefUnwindSafe for CryptoFipsStatus
impl Send for CryptoFipsStatus
impl Sync for CryptoFipsStatus
impl Unpin for CryptoFipsStatus
impl UnsafeUnpin for CryptoFipsStatus
impl UnwindSafe for CryptoFipsStatus
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