Enum pgp::types::Tag [−][src]
#[repr(u8)]
pub enum Tag {
Show 17 variants
PublicKeyEncryptedSessionKey,
Signature,
SymKeyEncryptedSessionKey,
OnePassSignature,
SecretKey,
PublicKey,
SecretSubkey,
CompressedData,
SymEncryptedData,
Marker,
LiteralData,
Trust,
UserId,
PublicSubkey,
UserAttribute,
SymEncryptedProtectedData,
ModDetectionCode,
}
Expand description
Packet tag as defined in RFC 4880, Section 4.3 “Packet Tags”
Variants
Public-Key Encrypted Session Key Packet
Signature Packet
Symmetric-Key Encrypted Session Key Packet
One-Pass Signature Packet
Secret-Key Packet
Public-Key Packet
Secret-Subkey Packet
Compressed Data Packet
Symmetrically Encrypted Data Packet
Marker Packet
Literal Data Packet
Trust Packet
User ID Packet
Public-Subkey Packet
User Attribute Packet
Sym. Encrypted and Integrity Protected Data Packet
Modification Detection Code Packet
Trait Implementations
Converts an i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts a usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts a f32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Auto Trait Implementations
impl RefUnwindSafe for Tag
impl UnwindSafe for Tag
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self