Expand description
Blanket MsgpackTagged impls for stdlib container types.
Containers don’t have struct fields or enum variants of their own, so they
never go through serialize_struct / deserialize_struct and don’t appear
as registry entries. But unlike primitives, their register_into is not
a no-op: it propagates the recursive walk into the inner type(s) so any
nested MsgpackTagged types contained within reach the registry.
Deliberately omitted: HashMap and HashSet. Their iteration order is
non-deterministic, which would produce different wire bytes for equal values
across runs. Wire types should use BTreeMap / BTreeSet instead. If
someone reaches for HashMap on the wire, the missing impl is a compile
error — and the #[diagnostic::on_unimplemented] note on the trait
definition points them at the BTreeMap alternative.
Macros§
Constants§
- LEAF 🔒