Module libspa::pod::deserialize

source ·
Expand description

This module deals with deserializing raw SPA pods into rust types.

A raw pod can be deserialized into any implementor of the PodDeserialize trait by using PodDeserializer::deserialize_from.

The crate provides a number of implementors of this trait either directly, or through FixedSizedPod.

You can also implement the PodDeserialize trait on another type yourself. See the traits documentation for more information on how to do that.

Structs§

Enums§

Traits§

  • Implementors of this trait can be deserialized from the raw SPA Pod format using a PodDeserializer-
  • This trait represents a visitor is “driven” by the deserializer to construct an instance of your type.