pub enum FipsState {
PowerOn,
Approved,
Error,
}Expand description
FIPS 140-2 operational state
Variants§
PowerOn
Power-on state, self-tests not run
Approved
Self-tests passed, ready for cryptographic operations
Error
Self-test failed, cryptographic operations disabled
Trait Implementations§
impl StructuralPartialEq for FipsState
Auto Trait Implementations§
impl Freeze for FipsState
impl RefUnwindSafe for FipsState
impl Send for FipsState
impl Sync for FipsState
impl Unpin for FipsState
impl UnsafeUnpin for FipsState
impl UnwindSafe for FipsState
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