html5ever::encoding
type DecoderTrapFunc = fn(&mut RawDecoder + 'static, &[u8], &mut StringWriter) -> bool;