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
sourceimpl From<PublicKeyEncryptedSessionKey> for Esk
impl From<PublicKeyEncryptedSessionKey> for Esk
sourcefn from(other: PublicKeyEncryptedSessionKey) -> Esk
fn from(other: PublicKeyEncryptedSessionKey) -> Esk
Converts to this type from the input type.
sourceimpl From<SymKeyEncryptedSessionKey> for Esk
impl From<SymKeyEncryptedSessionKey> for Esk
sourcefn from(other: SymKeyEncryptedSessionKey) -> Esk
fn from(other: SymKeyEncryptedSessionKey) -> Esk
Converts to this type from the input type.
sourceimpl TryFrom<Esk> for PublicKeyEncryptedSessionKey
impl TryFrom<Esk> for PublicKeyEncryptedSessionKey
sourceimpl TryFrom<Esk> for SymKeyEncryptedSessionKey
impl TryFrom<Esk> for SymKeyEncryptedSessionKey
impl Eq for Esk
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more