Expand description

Redis command abstractions

This crates includes abstractions for some Redis commands like AUTH, HELLO, GET, SET, PUBLISH, …

Each abstraction is implementing the Command trait.

For executing arbitrary (not yet implemented) commands, CustomCommand may be used. As alternative you can create new commands by implementing the Command trait.

Please consider contributing new command abstractions.

Modules

Abstraction of AUTH command.
Builder for constructing RESP2/3 frames
Abstraction for arbitrary commands.
Abstraction of GET command.
Abstraction of HELLO command.
Helpers for command abstraction.
Abstraction of PING command.
Abstraction of PUBLISH command.
Abstraction of SET command.

Structs

Error in case Redis response type does not match specification

Traits

Generic command structure. F is either Resp2Frame or Resp3Frame