[][src]Crate polyglot

Modules

de

Deserialization-related functionality.

ser

Serialization-related functionality.

Structs

Error

Thin wrapper around serialization errors.

Enums

Format

Available serialization formats.

Functions

from_reader

Deserialize a struct from a reader in the specified format.

from_str

Deserialize a struct from a string in the specified format.

to_string

Serialize a struct in the given format, outputting a string.

to_vec

Serialize a struct in the given format, outputting a vector of bytes.

to_writer

Type Definitions

Result

Alias of std::Result<T, Error>