Available on crate feature
codec
only.Expand description
Zero-copy RESP2 and RESP3 codec interfaces.
Structs§
- Resp2
resp2
- A framed RESP2 codec.
- Resp3
resp3
- A framed codec for complete and streaming/chunked RESP3 frames.
Functions§
- resp2_
encode_ command resp2
- Encode a redis command string (
SET foo bar NX
, etc) into a RESP2 bulk string array. - resp3_
encode_ command resp3
- Encode a redis command string (
SET foo bar NX
, etc) into a RESP3 blob string array.