Crate redis_zero_protocol_parser

Source
Expand description

§A zero-copy redis protocol parser

A zero-copy redis protocol parser

Enums§

Error
Protocol errors
Value
Redis Value.

Functions§

parse
Parses redis values from an stream of bytes. If the data is incomplete Err(Error::Partial) is returned.
parse_server
Parses data in the format that redis expects

Type Aliases§

ServerResponse
parse_server response. It is a tuple with two elements. The first element is the stream of bytes to be processed, and the second element is the vector of parsed arguments.