quick_xml

Module reader

Source
Expand description

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

Modules§

  • This is an implementation of Reader for reading from a BufRead as underlying byte stream.
  • ns_reader 🔒
    A reader that manages namespace declarations found in the input and able to resolve qualified names to expanded names.
  • This is an implementation of Reader for reading from a &[u8] as underlying byte stream. This implementation supports not using an intermediate buffer as the byte slice itself can be used to borrow from.
  • state 🔒

Macros§

  • Generalization of read_to_end method for buffered and borrowed readers
  • Read bytes up to the > and skip it. This method is expected to be called after seeing the < symbol and skipping it. Inspects the next (current) symbol and returns an appropriate Event:

Structs§

Enums§

Traits§

  • XmlSource 🔒
    Represents an input for a reader that can return borrowed data.

Type Aliases§

  • Range of input in bytes, that corresponds to some piece of XML