Struct serde_transcode::Transcoder[][src]

pub struct Transcoder<D>(_);
Expand description

A Serde transcoder.

In most cases, the transcode function should be used instead of this type.

Note

Unlike traditional serializable types, Transcoder’s Serialize implementation is not idempotent, as it advances the state of its internal Deserializer. It should only ever be serialized once.

Implementations

Constructs a new Transcoder.

Trait Implementations

Serialize this value into the given Serde serializer. 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.