Function link_preview::preview::html_from_bytes [−][src]
pub fn html_from_bytes(value: &[u8]) -> Result<Html, Error>
Expand description
Attempts to convert a HTML document byte slice into a HTML string instance
and then parses the document into a Html instance