Module aio

Module aio 

Source
Available on crate feature aio only.
Expand description

Adds async IO support to redis.

Modules§

async_stdasync-std-comp
Enables the async_std compatibility
smolsmol-comp
Enables the smol compatibility
tokiotokio-comp
Enables the tokio compatibility

Structs§

ConnectionManagerconnection-manager
A ConnectionManager is a proxy that wraps a multiplexed connection and automatically reconnects to the server when necessary.
ConnectionManagerConfigconnection-manager
The configuration for reconnect mechanism and request timing for the ConnectionManager
Monitor
Represents a Monitor connection.
MultiplexedConnection
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.
PubSubSink
The sink part of a split async Pubsub.
PubSubStream
The stream part of a split async Pubsub.
SendError
An error showing that the receiver

Traits§

AsyncPushSender
A trait for sender parts of a channel that can be used for sending push messages from async connection.
AsyncStream
Trait for objects that implements AsyncRead and AsyncWrite
ConnectionLike
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.