Available on crate feature
aio
only.Expand description
Adds async IO support to redis.
Modules§
- async_
std async-std-comp
- Enables the async_std compatibility
- smol
smol-comp
- Enables the smol compatibility
- tokio
tokio-comp
- Enables the tokio compatibility
Structs§
- Connection
Manager connection-manager
- A
ConnectionManager
is a proxy that wraps a multiplexed connection and automatically reconnects to the server when necessary. - Connection
Manager Config connection-manager
- The configuration for reconnect mechanism and request timing for the ConnectionManager
- Monitor
- Represents a
Monitor
connection. - Multiplexed
Connection - A connection object which can be cloned, allowing requests to be be sent concurrently on the same underlying connection (tcp/unix socket).
- PubSub
- A connection dedicated to RESP2 pubsub messages.
- PubSub
Sink - The sink part of a split async Pubsub.
- PubSub
Stream - The stream part of a split async Pubsub.
- Send
Error - An error showing that the receiver
Traits§
- Async
Push Sender - A trait for sender parts of a channel that can be used for sending push messages from async connection.
- Async
Stream - Trait for objects that implements
AsyncRead
andAsyncWrite
- Connection
Like - An async abstraction over connections.
Functions§
- prefer_
async_ std - Mark async-std compliant runtimes, such as smol, as the preferred runtime.
- prefer_
smol - Mark Smol as the preferred runtime.
- prefer_
tokio - Mark Tokio as the preferred runtime.