html_from_bytes

Function html_from_bytes 

Source
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