Module rustdds::serialization[][src]

Helpers for (De)serialization and definitions of (De)serializer adapters

Re-exports

pub use crate::dds::traits::serde_adapters::SerializerAdapter;
pub use crate::dds::traits::serde_adapters::DeserializerAdapter;

Structs

CDRDeserializerAdapter

This type adapts CDR_deserializer (which implements serde::Deserializer) to work as a DeserializerAdapter. CDR_deserializer cannot directly implement the trait itself, because CDR_deserializer has the type parameter BO open, and the adapter needs to be bi-endian.

CDRSerializerAdapter

This type adapts CDR_serializer (which implements serde::Serializer) to work as a SerializerAdapter. CDR_serializer cannot directly implement the trait itself, because CDR_serializer has the type parameter BO open, and the adapter needs to be bi-endian.