pub enum Encryption<'a> {
None,
Encrypted(&'a PublicKey),
}Expand description
Encryption mode for store_blob.
Variants§
None
Store the blob in plaintext.
Encrypted(&'a PublicKey)
Encrypt the blob to the given P-256 public key.
Auto Trait Implementations§
impl<'a> Freeze for Encryption<'a>
impl<'a> RefUnwindSafe for Encryption<'a>
impl<'a> Send for Encryption<'a>
impl<'a> Sync for Encryption<'a>
impl<'a> Unpin for Encryption<'a>
impl<'a> UnsafeUnpin for Encryption<'a>
impl<'a> UnwindSafe for Encryption<'a>
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