An OpenPGP packet's header.
The packet's CTB.
The packet's length.
pub fn from_reader<R: Read>(reader: R) -> Result<Header>[src]
Parses an OpenPGP packet's header as described in Section 4.2 of RFC 4880.
Serializes the packet to a vector.
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from
source. Read more
type Error = Infallible
The type returned in the event of a conversion error.