Crate resp [−] [src]
RESP(REdis Serialization Protocol) Serialization for Rust.
Structs
| Decoder |
A streaming RESP decoder. |
Enums
| Error |
This type represents all possible errors with RESP. |
| ErrorCode |
The errors that can arise while parsing a RESP stream. |
| Value |
Represents a RESP value, see Redis Protocol specification. |
Functions
| encode |
Encode the value to RESP binary buffer. |
| encode_slice |
Encode a array of slice string to RESP binary buffer. It is usefull for redis client to encode request command. |
Type Definitions
| Result |
Helper alias for |