Crate serde_rw

Source
Expand description

A library to extend serde serializers and deserializers with the ability to read / write different file formats from / to files.

Enums§

Error
Error type for de-/serialization operations from/to files.

Traits§

FromFile
Makes an object capable of reading itself from a file of a specified format.
FromJson
Allow deserialization from JSON.
FromToml
Allow deserialization from TOML.
FromXml
Allow deserialization from XML.
FromYaml
Allow deserialization from YAML.
ToFile
Makes an object capable of writing itself to a file of a specified format.
ToJson
Allow serialization to JSON.
ToToml
Allow serialization to TOML.
ToXml
Allow serialization to XML.
ToYaml
Allow serialization to YAML.

Type Aliases§

Result
Result type for this crate.