pub enum PrivateKey {
Symmetric(DerivedPrivateKey),
Asymmetric(Identity),
}Expand description
Private key variants.
Variants§
Symmetric(DerivedPrivateKey)
Private key used for symmetric ciphers.
Asymmetric(Identity)
Private key used for asymmetric ciphers.
Auto Trait Implementations§
impl Freeze for PrivateKey
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
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