Expand description
This module deals with serializing rust types into raw SPA pods.
A raw pod can be serialized by passing a implementor of the PodSerialize trait
to PodSerializer::serialize.
The crate provides a number of implementors of this trait either directly,
or through FixedSizedPod.
You can also implement the PodSerialize trait on another type yourself. See the traits documentation for more
information on how to do that.
Structs§
- Array
PodSerializer - This struct handles serializing arrays.
- Object
PodSerializer - This struct handles serializing objects.
- PodSerializer
- This struct is responsible for serializing a
PodSerializeimplementor into the raw POD format. - Serialize
Success - This struct is returned by
PodSerializeimplementors on serialization success. - Struct
PodSerializer - This struct handles serializing structs.
Enums§
- GenError
- Base type for generator errors
Traits§
- PodSerialize
- Implementors of this trait are able to serialize themselves into a SPA pod by using a
PodSerializer.