Skip to main content

render_entity

Function render_entity 

Source
pub fn render_entity(raw: &[u8], disp: &Display) -> String
Expand description

Render a MIME entity that is not a file of its own (the plaintext gpg hands back for a PGP/MIME message) exactly as the pager renders a message body: the whole tree, attachments announced, filters applied. Text that is not MIME at all comes back as it is.