Enum pgp::packet::Packet[][src]

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

Tuple Fields of CompressedData

0: CompressedData
PublicKey

Tuple Fields of PublicKey

0: PublicKey
PublicSubkey

Tuple Fields of PublicSubkey

0: PublicSubkey
SecretKey

Tuple Fields of SecretKey

0: SecretKey
SecretSubkey

Tuple Fields of SecretSubkey

0: SecretSubkey
LiteralData

Tuple Fields of LiteralData

0: LiteralData
Marker

Tuple Fields of Marker

0: Marker
ModDetectionCode

Tuple Fields of ModDetectionCode

0: ModDetectionCode
OnePassSignature

Tuple Fields of OnePassSignature

0: OnePassSignature
PublicKeyEncryptedSessionKey

Tuple Fields of PublicKeyEncryptedSessionKey

0: PublicKeyEncryptedSessionKey
Signature

Tuple Fields of Signature

0: Signature
SymEncryptedData

Tuple Fields of SymEncryptedData

0: SymEncryptedData
SymEncryptedProtectedData

Tuple Fields of SymEncryptedProtectedData

0: SymEncryptedProtectedData
SymKeyEncryptedSessionKey

Tuple Fields of SymKeyEncryptedSessionKey

0: SymKeyEncryptedSessionKey
Trust

Tuple Fields of Trust

0: Trust
UserAttribute

Tuple Fields of UserAttribute

0: UserAttribute
UserId

Tuple Fields of UserId

0: UserId

Implementations

Returns the tag for this packet type.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.