Expand description
Wire encode + decode for crate::Message. Uses kevy-resp’s
RESP2 multi-bulk array shape, identical to the keyspace plane —
tcpdump-friendly text frames, single decoder path workspace-wide.
Enums§
- Decode
Error - Errors
decodecan surface.
Functions§
- decode
- Decode one
Messageoff the front ofbuf. Returns the decoded message and the number of bytes consumed. The caller advances its read cursor byconsumedon success, retries with more bytes onTruncated, and drops the connection on every other variant. - encode
- Encode a
Messageas a RESP2 multi-bulk array.