Struct pgp::types::Packet [−][src]
Expand description
Represents a Packet. A packet is the record structure used to encode a chunk of data in OpenPGP. Ref: https://tools.ietf.org/html/rfc4880.html#section-4
Fields
version: Version
Indicator if this is an old or new versioned packet
tag: Tag
Denotes the type of data this packet holds
body: Vec<u8>
The raw bytes of the packet
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Packet
impl UnwindSafe for Packet
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self