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
Auto Trait Implementations
impl<D> !RefUnwindSafe for Transcoder<D>
impl<D> Send for Transcoder<D> where
D: Send,
impl<D> !Sync for Transcoder<D>
impl<D> Unpin for Transcoder<D> where
D: Unpin,
impl<D> UnwindSafe for Transcoder<D> where
D: UnwindSafe,