Available on crate feature
resp2
only.Expand description
RESP2 frame types.
Enums§
- Borrowed
Frame - A borrowed frame variant, typically used for encoding use cases.
- Bytes
Frame bytes
- A RESP2 frame that uses Bytes and Str as the underlying buffer type.
- Frame
Kind - An enum representing the type of RESP frame.
- Owned
Frame - A RESP2 frame.
- Range
Frame - A reference-free frame type representing ranges into an associated buffer, typically used to implement zero-copy parsing.
Constants§
- ARRAY_
BYTE - Byte prefix before an array type.
- BULKSTRING_
BYTE - Byte prefix before a bulk string type.
- ERROR_
BYTE - Byte prefix before an error type.
- INTEGER_
BYTE - Byte prefix before an integer type.
- NULL
- The binary representation of NULL in RESP2.
- SIMPLESTRING_
BYTE - Byte prefix before a simple string type.
Traits§
- Resp2
Frame - Generic operations on a RESP2 frame.