pub enum Packet {
Show 17 variants
CompressedData(CompressedData),
PublicKey(PublicKey),
PublicSubkey(PublicSubkey),
SecretKey(SecretKey),
SecretSubkey(SecretSubkey),
LiteralData(LiteralData),
Marker(Marker),
ModDetectionCode(ModDetectionCode),
OnePassSignature(OnePassSignature),
PublicKeyEncryptedSessionKey(PublicKeyEncryptedSessionKey),
Signature(Signature),
SymEncryptedData(SymEncryptedData),
SymEncryptedProtectedData(SymEncryptedProtectedData),
SymKeyEncryptedSessionKey(SymKeyEncryptedSessionKey),
Trust(Trust),
UserAttribute(UserAttribute),
UserId(UserId),
}
Variants§
CompressedData(CompressedData)
PublicKey(PublicKey)
PublicSubkey(PublicSubkey)
SecretKey(SecretKey)
SecretSubkey(SecretSubkey)
LiteralData(LiteralData)
Marker(Marker)
ModDetectionCode(ModDetectionCode)
OnePassSignature(OnePassSignature)
PublicKeyEncryptedSessionKey(PublicKeyEncryptedSessionKey)
Signature(Signature)
SymEncryptedData(SymEncryptedData)
SymEncryptedProtectedData(SymEncryptedProtectedData)
SymKeyEncryptedSessionKey(SymKeyEncryptedSessionKey)
Trust(Trust)
UserAttribute(UserAttribute)
UserId(UserId)
Implementations§
Trait Implementations§
source§impl From<CompressedData> for Packet
impl From<CompressedData> for Packet
source§fn from(other: CompressedData) -> Packet
fn from(other: CompressedData) -> Packet
Converts to this type from the input type.
source§impl From<LiteralData> for Packet
impl From<LiteralData> for Packet
source§fn from(other: LiteralData) -> Packet
fn from(other: LiteralData) -> Packet
Converts to this type from the input type.
source§impl From<ModDetectionCode> for Packet
impl From<ModDetectionCode> for Packet
source§fn from(other: ModDetectionCode) -> Packet
fn from(other: ModDetectionCode) -> Packet
Converts to this type from the input type.
source§impl From<OnePassSignature> for Packet
impl From<OnePassSignature> for Packet
source§fn from(other: OnePassSignature) -> Packet
fn from(other: OnePassSignature) -> Packet
Converts to this type from the input type.
source§impl From<PublicKeyEncryptedSessionKey> for Packet
impl From<PublicKeyEncryptedSessionKey> for Packet
source§fn from(other: PublicKeyEncryptedSessionKey) -> Packet
fn from(other: PublicKeyEncryptedSessionKey) -> Packet
Converts to this type from the input type.
source§impl From<PublicSubkey> for Packet
impl From<PublicSubkey> for Packet
source§fn from(other: PublicSubkey) -> Packet
fn from(other: PublicSubkey) -> Packet
Converts to this type from the input type.
source§impl From<SecretSubkey> for Packet
impl From<SecretSubkey> for Packet
source§fn from(other: SecretSubkey) -> Packet
fn from(other: SecretSubkey) -> Packet
Converts to this type from the input type.
source§impl From<SymEncryptedData> for Packet
impl From<SymEncryptedData> for Packet
source§fn from(other: SymEncryptedData) -> Packet
fn from(other: SymEncryptedData) -> Packet
Converts to this type from the input type.
source§impl From<SymEncryptedProtectedData> for Packet
impl From<SymEncryptedProtectedData> for Packet
source§fn from(other: SymEncryptedProtectedData) -> Packet
fn from(other: SymEncryptedProtectedData) -> Packet
Converts to this type from the input type.
source§impl From<SymKeyEncryptedSessionKey> for Packet
impl From<SymKeyEncryptedSessionKey> for Packet
source§fn from(other: SymKeyEncryptedSessionKey) -> Packet
fn from(other: SymKeyEncryptedSessionKey) -> Packet
Converts to this type from the input type.
source§impl From<UserAttribute> for Packet
impl From<UserAttribute> for Packet
source§fn from(other: UserAttribute) -> Packet
fn from(other: UserAttribute) -> Packet
Converts to this type from the input type.