Struct sequoia_openpgp::packet::prelude::Container [−][src]
pub struct Container { /* fields omitted */ }
Expand description
Holds packet bodies.
This is used by OpenPGP container packets, like the compressed data packet, to store the containing packets.
Implementations
Returns a reference to this Packet’s children.
Returns None
if the body is not structured.
Returns a mutable reference to this Packet’s children.
Returns None
if the body is not structured.
Returns an iterator over the packet’s descendants. The descendants are visited in depth-first order.
Returns None
if the body is not structured.
Returns an iterator over the packet’s immediate children.
Returns None
if the body is not structured.
Returns an IntoIter
over the packet’s immediate children.
Returns None
if the body is not structured.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Container
impl !UnwindSafe for Container
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self