Module reader

Source
Expand description

Contains high-level interface for a pull-based XML parser.

The most important type in this module is EventReader, which provides an iterator view for events in XML document.

Structs§

Error
An XML parsing error.
EventReader
A wrapper around an std::io::Read instance which provides pull-based XML parsing.
Events
An iterator over XML events created from some type implementing Read.
ParserConfig
Parser configuration structure. There are more config methods than public fileds — see methods below.
ParserConfig2
Backwards-compatible extension of ParserConfig, which will eventually be merged into the original ParserConfig struct

Enums§

ErrorKind
Failure reason
XmlEvent
An element of an XML input stream.

Type Aliases§

Result
A result type yielded by XmlReader.