Module writer

Source
Expand description

Contains high-level interface for an events-based XML emitter.

The most important type in this module is EventWriter which allows writing an XML document to some output stream.

Modules§

events
Contains XmlEvent datatype, instances of which are consumed by the writer.

Structs§

EmitterConfig
Emitter configuration structure.
EventWriter
A wrapper around an std::io::Write instance which emits XML document according to provided events.

Enums§

Error
An error which may be returned by XmlWriter when writing XML events.
XmlEvent
A part of an XML output stream.

Type Aliases§

Result
A result type yielded by XmlWriter.