Crate resp [] [src]

RESP(REdis Serialization Protocol) Serialization for Rust.

Structs

Decoder

A streaming RESP decoder.

Enums

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.