pub enum Body {
Text(String),
Entity(Vec<u8>),
}Expand description
What decryption produced, when it produced anything.
Variants§
Text(String)
Plain text, from inline PGP: show it as it stands.
Entity(Vec<u8>)
A MIME entity, from PGP/MIME: the caller renders the tree, so attachments inside encrypted mail show like any others.
Auto Trait Implementations§
impl Freeze for Body
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnsafeUnpin for Body
impl UnwindSafe for Body
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more