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
sourceimpl From<CompressedData> for Packet
impl From<CompressedData> for Packet
sourcefn from(other: CompressedData) -> Packet
fn from(other: CompressedData) -> Packet
Converts to this type from the input type.
sourceimpl From<LiteralData> for Packet
impl From<LiteralData> for Packet
sourcefn from(other: LiteralData) -> Packet
fn from(other: LiteralData) -> Packet
Converts to this type from the input type.
sourceimpl From<ModDetectionCode> for Packet
impl From<ModDetectionCode> for Packet
sourcefn from(other: ModDetectionCode) -> Packet
fn from(other: ModDetectionCode) -> Packet
Converts to this type from the input type.
sourceimpl From<OnePassSignature> for Packet
impl From<OnePassSignature> for Packet
sourcefn from(other: OnePassSignature) -> Packet
fn from(other: OnePassSignature) -> Packet
Converts to this type from the input type.
sourceimpl From<PublicKeyEncryptedSessionKey> for Packet
impl From<PublicKeyEncryptedSessionKey> for Packet
sourcefn from(other: PublicKeyEncryptedSessionKey) -> Packet
fn from(other: PublicKeyEncryptedSessionKey) -> Packet
Converts to this type from the input type.
sourceimpl From<PublicSubkey> for Packet
impl From<PublicSubkey> for Packet
sourcefn from(other: PublicSubkey) -> Packet
fn from(other: PublicSubkey) -> Packet
Converts to this type from the input type.
sourceimpl From<SecretSubkey> for Packet
impl From<SecretSubkey> for Packet
sourcefn from(other: SecretSubkey) -> Packet
fn from(other: SecretSubkey) -> Packet
Converts to this type from the input type.
sourceimpl From<SymEncryptedData> for Packet
impl From<SymEncryptedData> for Packet
sourcefn from(other: SymEncryptedData) -> Packet
fn from(other: SymEncryptedData) -> Packet
Converts to this type from the input type.
sourceimpl From<SymEncryptedProtectedData> for Packet
impl From<SymEncryptedProtectedData> for Packet
sourcefn from(other: SymEncryptedProtectedData) -> Packet
fn from(other: SymEncryptedProtectedData) -> Packet
Converts to this type from the input type.
sourceimpl From<SymKeyEncryptedSessionKey> for Packet
impl From<SymKeyEncryptedSessionKey> for Packet
sourcefn from(other: SymKeyEncryptedSessionKey) -> Packet
fn from(other: SymKeyEncryptedSessionKey) -> Packet
Converts to this type from the input type.
sourceimpl From<UserAttribute> for Packet
impl From<UserAttribute> for Packet
sourcefn from(other: UserAttribute) -> Packet
fn from(other: UserAttribute) -> Packet
Converts to this type from the input type.
sourceimpl TryFrom<Packet> for OnePassSignature
impl TryFrom<Packet> for OnePassSignature
sourceimpl TryFrom<Packet> for PublicKeyEncryptedSessionKey
impl TryFrom<Packet> for PublicKeyEncryptedSessionKey
sourceimpl TryFrom<Packet> for SymEncryptedData
impl TryFrom<Packet> for SymEncryptedData
sourceimpl TryFrom<Packet> for SymEncryptedProtectedData
impl TryFrom<Packet> for SymEncryptedProtectedData
sourceimpl TryFrom<Packet> for SymKeyEncryptedSessionKey
impl TryFrom<Packet> for SymKeyEncryptedSessionKey
sourceimpl TryFrom<Packet> for UserAttribute
impl TryFrom<Packet> for UserAttribute
sourceimpl TryFrom<Packet> for CompressedData
impl TryFrom<Packet> for CompressedData
sourceimpl TryFrom<Packet> for PublicSubkey
impl TryFrom<Packet> for PublicSubkey
sourceimpl TryFrom<Packet> for SecretSubkey
impl TryFrom<Packet> for SecretSubkey
sourceimpl TryFrom<Packet> for LiteralData
impl TryFrom<Packet> for LiteralData
Auto Trait Implementations
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnwindSafe for Packet
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