Module eventually::serde

source ·
Expand description

This module provides traits and implementations for serialization and deserialization, allowing you to convert Rust data structures to and from different formats like JSON, Protobuf, etc.

Structs§

  • Implements the Serde trait to translate between two different types, and using the specified Serde for serialization and deserialization using the new Out type.
  • Implements the Serializer and Deserializer traits, which use the serde crate to serialize and deserialize a message into JSON.
  • Implementation of Serde traits that uses ProtoJson as wire protocol.
  • Implements the Serde trait which serializes and deserializes the message using Protobuf format through the prost::Message trait.

Traits§

  • A deserializer interface that can be used to deserialize a byte array into an instance of a specific Rust data type from a specific wire format.
  • Serializer and Deserializer that can be used to serialize into and deserialize from a given type into a specific wire format, such as JSON, Protobuf, etc.
  • A serializer interface that can be used to serialize a Rust data type into a specific wire format as a byte array.