pub trait XmlRead<'i> {
fn next(&mut self) -> Result<DeEvent<'i>, DeError>;
fn read_to_end(&mut self, name: &[u8]) -> Result<(), DeError>;
fn decoder(&self) -> Decoder;
}
Expand description
Required Methods
Skips until end element is found. Unlike next()
it will not allocate
when it cannot satisfy the lifetime.