pub struct StaticKey { /* private fields */ }Expand description
One zeroizing key suitable for applications without key rotation.
Implementations§
Trait Implementations§
Source§impl EncryptionKeys for StaticKey
impl EncryptionKeys for StaticKey
Source§fn active_key(&self) -> Result<EncryptionKey<'_>>
fn active_key(&self) -> Result<EncryptionKey<'_>>
Returns the key used for new envelopes. Read more
Auto Trait Implementations§
impl Freeze for StaticKey
impl RefUnwindSafe for StaticKey
impl Send for StaticKey
impl Sync for StaticKey
impl Unpin for StaticKey
impl UnsafeUnpin for StaticKey
impl UnwindSafe for StaticKey
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