pub type FastEncoder<W> = Encoder<W, false>;Expand description
Trusted JSON encoder variant: skips per-value event-protocol validation.
Use this when the caller provably follows the serialization protocol —
the repository-owned derive macros do — in exchange for ~2x encoding
throughput. Misuse (a hand-written implementation emitting values out of
order) silently produces malformed JSON instead of an error, so this is
the wrong type for unverified callers. See Encoder.
Aliased Type§
pub struct FastEncoder<W> { /* private fields */ }