pub enum Esk {
PublicKeyEncryptedSessionKey(PublicKeyEncryptedSessionKey),
SymKeyEncryptedSessionKey(SymKeyEncryptedSessionKey),
}
Expand description
Encrypted Session Key
Public-Key Encrypted Session Key Packet | Symmetric-Key Encrypted Session Key Packet.
Variants§
PublicKeyEncryptedSessionKey(PublicKeyEncryptedSessionKey)
SymKeyEncryptedSessionKey(SymKeyEncryptedSessionKey)
Implementations§
Trait Implementations§
source§impl From<PublicKeyEncryptedSessionKey> for Esk
impl From<PublicKeyEncryptedSessionKey> for Esk
source§fn from(other: PublicKeyEncryptedSessionKey) -> Esk
fn from(other: PublicKeyEncryptedSessionKey) -> Esk
Converts to this type from the input type.
source§impl From<SymKeyEncryptedSessionKey> for Esk
impl From<SymKeyEncryptedSessionKey> for Esk
source§fn from(other: SymKeyEncryptedSessionKey) -> Esk
fn from(other: SymKeyEncryptedSessionKey) -> Esk
Converts to this type from the input type.
source§impl TryFrom<Esk> for PublicKeyEncryptedSessionKey
impl TryFrom<Esk> for PublicKeyEncryptedSessionKey
source§impl TryFrom<Esk> for SymKeyEncryptedSessionKey
impl TryFrom<Esk> for SymKeyEncryptedSessionKey
impl Eq for Esk
impl StructuralPartialEq for Esk
Auto Trait Implementations§
impl RefUnwindSafe for Esk
impl Send for Esk
impl Sync for Esk
impl Unpin for Esk
impl UnwindSafe for Esk
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