Information about the stream of packets parsed by the
pub fn is_message(&self) -> bool[src]
Whether the message is an OpenPGP Message.
As opposed to a TPK or just a bunch of packets.
Returns the path of the last packet.
pub fn last_recursion_depth(&self) -> Option<isize>[src]
The last packet's recursion depth.
A top-level packet has a recursion depth of 0. Packets in a top-level container have a recursion depth of 1, etc.
type Error = Infallible
The type returned in the event of a conversion error.