Expand description
RESP3 frame types.
Structs§
- Auth
- Authentication information used in the
HELLO
request. - Streamed
Frame - A helper struct for reading and managing streaming data types.
Enums§
- Decoded
Frame - Wrapper enum around a decoded frame that supports streaming frames.
- Frame
- An enum describing the possible data types in RESP3 along with the corresponding Rust data type to represent the payload.
- Frame
Kind - The type of frame without any associated data.
- Resp
Version - The RESP version used in the
HELLO
request. - Verbatim
String Format - The format of a verbatim string frame.
Constants§
- ARRAY_
BYTE - Byte prefix before an array type.
- ATTRIBUTE_
BYTE - Byte prefix before an attribute type.
- AUTH
- Byte representation of
AUTH
. - BIG_
NUMBER_ BYTE - Byte prefix before a big number type.
- BLOB_
ERROR_ BYTE - Byte prefix before a blob error type.
- BLOB_
STRING_ BYTE - Byte prefix before a blob string type.
- BOOLEAN_
BYTE - Byte prefix before a boolean type.
- BOOL_
FALSE_ BYTES - Byte representation of
false
. - BOOL_
TRUE_ BYTES - Byte representation of
true
. - CHUNKED_
STRING_ BYTE - Byte representation of a chunked string.
- DOUBLE_
BYTE - Byte prefix before a Double type.
- EMPTY_
SPACE - Byte representation of an empty space.
- END_
STREAM_ AGGREGATE_ BYTES - The terminating bytes when a streaming operation is done from an aggregate type.
- END_
STREAM_ BYTE - Byte used to signify the end of a stream.
- END_
STREAM_ STRING_ BYTES - The terminating bytes when a streaming operation is done from a blob string.
- HELLO
- Byte representation of HELLO.
- INFINITY
- Byte representation of positive infinity.
- MAP_
BYTE - Byte prefix before a map type.
- NEG_
INFINITY - Byte representation of negative infinity.
- NULL
- The binary representation of NULL in RESP3.
- NULL_
BYTE - Byte prefix before a NULL value.
- NUMBER_
BYTE - Byte prefix before a Number type.
- PATTERN_
PUBSUB_ PREFIX - Prefix on pubsub messages from a pattern matching subscription.
- PUBSUB_
PREFIX - Prefix on normal pubsub messages.
- PUBSUB_
PUSH_ PREFIX - Prefix on RESP3 push pubsub messages.
- PUSH_
BYTE - Byte prefix before a push type.
- SET_
BYTE - Byte prefix before a set type.
- SIMPLE_
ERROR_ BYTE - Byte prefix before a simple error type.
- SIMPLE_
STRING_ BYTE - Byte prefix before a simple string type.
- STREAMED_
LENGTH_ BYTE - Byte prefix on a streamed type, following the byte that identifies the type.
- VERBATIM_
FORMAT_ BYTE - Byte used to separate the verbatim string from the format prefix.
- VERBATIM_
STRING_ BYTE - Byte prefix before a verbatim string type.
Type Aliases§
- Attributes
- Additional information returned alongside a frame.
- Frame
Map - A map struct for frames.
- Frame
Set - A set struct for frames.