pub struct CDRDeserializerAdapter<D> { /* private fields */ }
Expand description

This type adapts CdrDeserializer (which implements serde::Deserializer) to work as a with_key::DeserializerAdapter and no_key::DeserializerAdapter.

CdrDeserializer cannot directly implement the trait itself, because CdrDeserializer has the type parameter BO open, and the adapter needs to be bi-endian.

Trait Implementations

Which data representations can the DeserializerAdapter read? See RTPS specification Section 10 and Table 10.3 Read more

This method has a default implementation, but the default will make a copy of all the input data in memory and then call from_bytes() . Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.