Expand description
Deserialization contract: one borrowed payload in, 0..N records out, push-style.
The RecFamily lifetime→type family is what lets a
lifetime-parameterized record type cross generic and dyn boundaries
(validated by the seam prototype — see docs/DESIGN.md § Frozen v1
contracts). Deserializers for borrowing record types implement
Deserializer<F> for a family F whose Rec<'buf> borrows the payload
buffer; owned record types use the provided Owned family.
Structs§
- Bytes
Passthrough - Passthrough deserializer: yields the raw bytes as owned
Vec<u8>records. Useful for byte-oriented pipelines and tests. - Owned
- Family for record types that do not borrow (owned payloads).
Traits§
- Deserializer
- One borrowed payload in, 0..N records out through
out. - Emit
Record - Push-style receiver for deserialized records (0..N per payload).
- RecFamily
- Maps a payload-buffer lifetime to the deserialized record type.