The size of a packet.
A packet's size can be expressed in three different ways. Either the size of the packet is fully known (Full), the packet is chunked using OpenPGP's partial body encoding (Partial), or the packet extends to the end of the file (Indeterminate). See Section 4.2 of RFC 4880 for more details.
Packet size is fully known.
The parameter is the number of bytes in the current chunk. This type is only used with new format packets.
The packet extends until an EOF is encountered. This type is only used with old format packets.
impl Serialize for BodyLength[src]
impl SerializeInto for BodyLength[src]
fn serialized_len(&self) -> usize[src]
Serializes the packet to a vector.
impl Copy for BodyLength[src]
impl PartialEq<BodyLength> for BodyLength[src]
impl Clone for BodyLength[src]
fn clone(&self) -> BodyLength[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from
source. Read more
impl Debug for BodyLength[src]
type Error = Infallible
The type returned in the event of a conversion error.