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.
source§impl TryFrom<Packet> for CompressedData
impl TryFrom<Packet> for CompressedData
source§impl TryFrom<Packet> for LiteralData
impl TryFrom<Packet> for LiteralData
source§impl TryFrom<Packet> for ModDetectionCode
impl TryFrom<Packet> for ModDetectionCode
source§impl TryFrom<Packet> for OnePassSignature
impl TryFrom<Packet> for OnePassSignature
source§impl TryFrom<Packet> for PublicKeyEncryptedSessionKey
impl TryFrom<Packet> for PublicKeyEncryptedSessionKey
source§impl TryFrom<Packet> for PublicSubkey
impl TryFrom<Packet> for PublicSubkey
source§impl TryFrom<Packet> for SecretSubkey
impl TryFrom<Packet> for SecretSubkey
source§impl TryFrom<Packet> for SymEncryptedData
impl TryFrom<Packet> for SymEncryptedData
source§impl TryFrom<Packet> for SymEncryptedProtectedData
impl TryFrom<Packet> for SymEncryptedProtectedData
source§impl TryFrom<Packet> for SymKeyEncryptedSessionKey
impl TryFrom<Packet> for SymKeyEncryptedSessionKey
source§impl TryFrom<Packet> for UserAttribute
impl TryFrom<Packet> for UserAttribute
Auto Trait Implementations§
impl Freeze for Packet
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnwindSafe for Packet
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