Function esi::parse_tags
source · [−]pub fn parse_tags<'a, R>(
namespace: &str,
reader: &mut Reader<R>,
callback: &mut dyn FnMut(Event<'a>) -> Result<(), ExecutionError>
) -> Result<(), ExecutionError> where
R: BufRead,
Expand description
Parses the ESI document from the given reader
and calls the callback
closure upon each successfully parsed ESI tag.