pub enum KeyState {
Preactive,
Active,
Deactivated,
Destroyed,
}Expand description
Key state in the lifecycle.
Variants§
Preactive
Loaded but not yet activated.
Active
Available for cryptographic operations.
Deactivated
Disabled, no longer usable for new operations.
Destroyed
Cryptographically wiped.
Trait Implementations§
impl Copy for KeyState
impl Eq for KeyState
impl StructuralPartialEq for KeyState
Auto Trait Implementations§
impl Freeze for KeyState
impl RefUnwindSafe for KeyState
impl Send for KeyState
impl Sync for KeyState
impl Unpin for KeyState
impl UnsafeUnpin for KeyState
impl UnwindSafe for KeyState
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