pub trait OutputSink {
// Required method
fn handle_chunk(&mut self, chunk: &[u8]);
}Expand description
Defines an interface for the HtmlRewriter’s output.
pub trait OutputSink {
// Required method
fn handle_chunk(&mut self, chunk: &[u8]);
}Defines an interface for the HtmlRewriter’s output.