pub type DynEncoder<'w, W> = Box<dyn EncodeTo<W> + 'w>;
An encoder with its type erased.
struct DynEncoder<'w, W>(/* private fields */);