Expand description
XML parser that implements FormatParser for the codex prototype.
This uses quick-xml for the underlying XML parsing and translates its events into the format-agnostic ParseEvent stream.
Structs§
- Serialize
Options - Options for XML serialization.
- XmlParser
- XmlSerialize
Error - XmlSerializer
- XML serializer with configurable output options.
Enums§
- Attr
- XML attribute types for field and container configuration.
- Deserialize
Error - Error produced by
FormatDeserializer. - XmlError
Functions§
- from_
slice - Deserialize a value from XML bytes into an owned type.
- from_
slice_ borrowed - Deserialize a value from XML bytes, allowing zero-copy borrowing.
- from_
str - Deserialize a value from an XML string into an owned type.
- from_
str_ borrowed - Deserialize a value from an XML string, allowing zero-copy borrowing.
- to_
string - Serialize a value to an XML string with default options.
- to_
string_ pretty - Serialize a value to a pretty-printed XML string with default indentation.
- to_
string_ with_ options - Serialize a value to an XML string with custom options.
- to_vec
- Serialize a value to XML bytes with default options.
- to_
vec_ with_ options - Serialize a value to XML bytes with custom options.
Type Aliases§
- Float
Formatter - A function that formats a floating-point number to a writer.