Expand description
An asynchronous Redis client library for Rust.
§Basic usage
§Examples
§TLS/SSL
§Connection pooling
§Asynchronous operations
By default, the client runs in asynchronous mode. This means that all
operations are non-blocking and return a Future
that can be awaited.
§Pipelining
§Transaction
§Pub/Sub
§RESP2/RESP3
RESP version is set per connection. By default, the connection runs in RESP2 mode. RESP3 can be
enabled by sending HELLO 3
to the server. You can use client.hello(Some(3))
to achieve it.
Note that RESP3 is only available in Redis 6.0 and later.
Structs§
- Client
- Redis client implementation.
- Connection
- Represents a connection bewteen the client and the Redis server.
Enums§
- Frame
- Frame represents a single RESP data transmit unit over the socket.
- Redis
Error - Represents errors that can occur when working with Redis.
Type Aliases§
- Result
- A specialized
Result
type for Redis operations.