Struct pgp::packet::LiteralData [−][src]
pub struct LiteralData { /* fields omitted */ }
Expand description
Literal Data Packet https://tools.ietf.org/html/rfc4880.html#section-5.9
Implementations
Creates a literal data packet from the given string. Normalizes line endings.
Creates a literal data packet from the given bytes.
Parses a LiteralData
packet from the given slice.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LiteralData
impl Send for LiteralData
impl Sync for LiteralData
impl Unpin for LiteralData
impl UnwindSafe for LiteralData
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self