Available on crate feature resp2 only.
Expand description

Encoding functions for BytesMut and slices. Functions for encoding frames into the RESP2 protocol.

https://redis.io/topics/protocol#resp-protocol-description

Functions§

  • Attempt to encode a frame into buf.
  • Attempt to encode a frame into buf.
  • Attempt to encode a frame at the end of buf, extending the buffer before encoding.