A sum type for the different CTB variants.
Note: CTB stands for Cipher Type Byte.
New (current) packet header format.
Old PGP 2.6 header format.
Parses a CTB as described in Section 4.2 of RFC 4880. This function parses both new and old format CTBs.
impl SerializeInto for CTB[src]
fn serialized_len(&self) -> usize[src]
Serializes the packet to a vector.
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from
source. Read more
The resulting type after dereferencing.
type Error = Infallible
The type returned in the event of a conversion error.