Enum sequoia_openpgp::message::Token [−][src]
#[non_exhaustive]
pub enum Token {
Literal,
CompressedData,
SKESK,
PKESK,
SEIP,
MDC,
AED,
OPS,
SIG,
Pop,
OpaqueContent,
}Expand description
The components of an OpenPGP Message.
Note: This enum cannot be exhaustively matched to allow future extensions.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
A Literal data packet.
A Compressed Data packet.
An SK-ESK packet.
An PK-ESK packet.
A SEIP packet.
An MDC packet.
An AED packet.
A OnePassSig packet.
A Signature packet.
The end of a container (either a Compressed Data packet or a SEIP packet).
A container’s unparsed content.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Token
impl UnwindSafe for Token
Blanket Implementations
Mutably borrows from an owned value. Read more