Skip to main content

Module codec

Module codec 

Source
Expand description

XML codec implementation for schema-based serialization.

Provides XmlCodec — a [Codec] producing the XmlSerializer / XmlDeserializer pair used by the AWS REST XML protocol. Per-protocol behavior (default timestamp format, etc.) is configured via XmlCodecSettings.

Structs§

XmlCodec
XML codec for schema-based serialization and deserialization.
XmlCodecSettings
Configuration for XML codec behavior.
XmlCodecSettingsBuilder
Builder for XmlCodecSettings.
XmlDeserializer
XML deserializer that implements the ShapeDeserializer trait.
XmlSerializer
XML serializer that implements the [ShapeSerializer] trait.

Functions§

find_depth2_element_slice_by
Locate a depth-2 XML element (a direct child of the document root) whose local name satisfies predicate, returning the byte slice covering it (<El>...</El>, inclusive of tags). The document root itself is also considered, so an “unwrapped” envelope whose root already matches is found.