Module reader

Source
Expand description

Deserialization implementations

Structs§

FromStringVisitor
A visitor for deserializing types implementing FromStr
FromVisitor
Generic visitor for forwarding all calls to an inner visitor and converting into the target type using its From implementation.
OptionalVisitor
A visitor for deserializing empty XML elements as an Option::None
PeekingReader
A wrapper around a XmlReader that supports peeking XML events without consuming them
TryFromVisitor
Generic visitor for forwarding all calls to an inner visitor and converting into the target type using its TryFrom implementation.

Traits§

FromXml
Marks a type as being deserializable from XML
Visitor
A trait for building up instances of types during deserialization
XmlFromStr
Marker trait for auto-implementing the FromXml trait based on the FromStr-implementation of a type.

Type Aliases§

XmlReader
Type alias for the underlying reader