fn next(&mut self) -> Result<XmlEvent> {
        loop {
            match self.buffer.pop_front() {
                Some(CachedXmlEvent::Unused(ev)) => break Ok(ev),
                Some(CachedXmlEvent::Used) => continue,
                None => break next_significant_event(&mut self.reader),
            }
        }
    }
/// Consumed XML events in the root buffer are moved to the caller
Consumed XML events in the root buffer are moved to the caller
Consumed XML events in the root buffer are moved to the caller
fn next(&mut self) -> Result<XmlEvent> {
        loop {
            match self.buffer.pop_front() {
                Some(CachedXmlEvent::Unused(ev)) => break Ok(ev),
                Some(CachedXmlEvent::Used) => continue,
                None => break next_significant_event(&mut self.reader),
            }
        }
    }
fn next ( & mut self ) -> Result < XmlEvent > { loop { match self . buffer . pop_front ( ) { Some ( CachedXmlEvent :: Unused ( ev ) ) => break Ok ( ev ) , Some ( CachedXmlEvent :: Used ) => continue , None => break next_significant_event ( & mut self . reader ) , } } }
Consumed XML events in the root buffer are moved to the caller
Consumed XML events in the root buffer are moved to the caller
&mut self