pub struct ConnectionManager(/* private fields */);aio and connection-manager only.Expand description
A ConnectionManager is a proxy that wraps a multiplexed
connection and automatically reconnects to the
server when necessary.
Like the MultiplexedConnection, this
manager can be cloned, allowing requests to be sent concurrently on
the same underlying connection (tcp/unix socket).
§Behavior
- When creating an instance of the
ConnectionManager, an initial connection will be established and awaited. Connection errors will be returned directly. - When a command sent to the server fails with an error that represents a “connection dropped” condition, that error will be passed on to the user, but it will trigger a reconnection in the background.
- The reconnect code will atomically swap the current (dead) connection
with a future that will eventually resolve to a
MultiplexedConnectionor to aRedisError - All commands that are issued after the reconnect process has been initiated, will have to await the connection future.
- If reconnecting fails, all pending commands will be failed as well. A new reconnection attempt will be triggered if the error is an I/O error.
- If the connection manager uses RESP3 connection,it actively listens to updates from the server, and so it will cause the manager to reconnect after a disconnection, even if the manager was unused at the time of the disconnect.
Implementations§
Source§impl ConnectionManager
impl ConnectionManager
Sourcepub async fn new(client: Client) -> RedisResult<Self>
pub async fn new(client: Client) -> RedisResult<Self>
Connect to the server and store the connection inside the returned ConnectionManager.
This requires the connection-manager feature, which will also pull in
the Tokio executor.
Sourcepub async fn new_with_config(
client: Client,
config: ConnectionManagerConfig,
) -> RedisResult<Self>
pub async fn new_with_config( client: Client, config: ConnectionManagerConfig, ) -> RedisResult<Self>
Connect to the server and store the connection inside the returned ConnectionManager.
This requires the connection-manager feature, which will also pull in
the Tokio executor.
In case of reconnection issues, the manager will retry reconnection number_of_retries times, with an exponentially increasing delay, calculated as min(max_delay, rand(0 .. min_delay * (exponent_base ^ current-try))).
The new connection will time out operations after response_timeout has passed.
Each connection attempt to the server will time out after connection_timeout.
Sourcepub async fn send_packed_command(&mut self, cmd: &Cmd) -> RedisResult<Value>
pub async fn send_packed_command(&mut self, cmd: &Cmd) -> RedisResult<Value>
Sends an already encoded (packed) command into the TCP socket and reads the single response from it.
Sourcepub async fn send_packed_commands(
&mut self,
cmd: &Pipeline,
offset: usize,
count: usize,
) -> RedisResult<Vec<Value>>
pub async fn send_packed_commands( &mut self, cmd: &Pipeline, offset: usize, count: usize, ) -> RedisResult<Vec<Value>>
Sends multiple already encoded (packed) command into the TCP socket
and reads count responses from it. This is used to implement
pipelining.
Sourcepub async fn subscribe(
&mut self,
channel_name: impl ToRedisArgs,
) -> RedisResult<()>
pub async fn subscribe( &mut self, channel_name: impl ToRedisArgs, ) -> RedisResult<()>
Subscribes to a new channel(s).
Updates from the sender will be sent on the push sender that was passed to the manager. If the manager was configured without a push sender, the connection won’t be able to pass messages back to the user.
This method is only available when the connection is using RESP3 protocol, and will return an error otherwise. It should be noted that unless ConnectionManagerConfig::set_automatic_resubscription was called, the subscription will be removed on a disconnect and must be re-subscribed.
let client = redis::Client::open("redis://127.0.0.1/?protocol=resp3").unwrap();
let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel();
let config = redis::aio::ConnectionManagerConfig::new().set_push_sender(tx);
let mut con = client.get_connection_manager_with_config(config).await?;
con.psubscribe("channel*_1").await?;
con.psubscribe(&["channel*_2", "channel*_3"]).await?;Sourcepub async fn unsubscribe(
&mut self,
channel_name: impl ToRedisArgs,
) -> RedisResult<()>
pub async fn unsubscribe( &mut self, channel_name: impl ToRedisArgs, ) -> RedisResult<()>
Unsubscribes from channel(s).
This method is only available when the connection is using RESP3 protocol, and will return an error otherwise.
Sourcepub async fn psubscribe(
&mut self,
channel_pattern: impl ToRedisArgs,
) -> RedisResult<()>
pub async fn psubscribe( &mut self, channel_pattern: impl ToRedisArgs, ) -> RedisResult<()>
Subscribes to new channel(s) with pattern(s).
Updates from the sender will be sent on the push sender that was passed to the manager. If the manager was configured without a push sender, the manager won’t be able to pass messages back to the user.
This method is only available when the connection is using RESP3 protocol, and will return an error otherwise. It should be noted that unless ConnectionManagerConfig::set_automatic_resubscription was called, the subscription will be removed on a disconnect and must be re-subscribed.
let client = redis::Client::open("redis://127.0.0.1/?protocol=resp3").unwrap();
let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel();
let config = redis::aio::ConnectionManagerConfig::new().set_push_sender(tx);
let mut con = client.get_connection_manager_with_config(config).await?;
con.psubscribe("channel*_1").await?;
con.psubscribe(&["channel*_2", "channel*_3"]).await?;Sourcepub async fn punsubscribe(
&mut self,
channel_pattern: impl ToRedisArgs,
) -> RedisResult<()>
pub async fn punsubscribe( &mut self, channel_pattern: impl ToRedisArgs, ) -> RedisResult<()>
Unsubscribes from channel pattern(s).
This method is only available when the connection is using RESP3 protocol, and will return an error otherwise.
Sourcepub fn get_cache_statistics(&self) -> Option<CacheStatistics>
Available on crate feature cache-aio only.
pub fn get_cache_statistics(&self) -> Option<CacheStatistics>
cache-aio only.Gets crate::caching::CacheStatistics for current connection if caching is enabled.
Trait Implementations§
Source§impl Clone for ConnectionManager
impl Clone for ConnectionManager
Source§fn clone(&self) -> ConnectionManager
fn clone(&self) -> ConnectionManager
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ConnectionLike for ConnectionManager
impl ConnectionLike for ConnectionManager
Source§fn req_packed_command<'a>(&'a mut self, cmd: &'a Cmd) -> RedisFuture<'a, Value>
fn req_packed_command<'a>(&'a mut self, cmd: &'a Cmd) -> RedisFuture<'a, Value>
Auto Trait Implementations§
impl Freeze for ConnectionManager
impl !RefUnwindSafe for ConnectionManager
impl Send for ConnectionManager
impl Sync for ConnectionManager
impl Unpin for ConnectionManager
impl !UnwindSafe for ConnectionManager
Blanket Implementations§
Source§impl<T> AsyncCommands for T
impl<T> AsyncCommands for T
Source§fn get<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn get<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.MGET (if using TypedCommands, you should specifically use mget to get the correct return type.
Redis DocsSource§fn mget<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn mget<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn keys<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn keys<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn set<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn set<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn set_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
options: SetOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn set_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
options: SetOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn mset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
items: &'a [(K, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn mset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
items: &'a [(K, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn set_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
seconds: u64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn set_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
seconds: u64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn pset_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
milliseconds: u64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pset_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
milliseconds: u64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn set_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn set_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn mset_nx<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
items: &'a [(K, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn mset_nx<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
items: &'a [(K, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn mset_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
items: &'a [(K, V)],
options: MSetOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn mset_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
items: &'a [(K, V)],
options: MSetOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn getset<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn getset<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn getrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
from: isize,
to: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn getrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
from: isize,
to: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn setrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
offset: isize,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn setrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
offset: isize,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn del<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn del<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn del_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value_comparison: ValueComparison,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn del_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value_comparison: ValueComparison,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.match-value - Delete the key only if its value is equal to match-value
IFNE match-value - Delete the key only if its value is not equal to match-value
IFDEQ match-digest - Delete the key only if the digest of its value is equal to match-digest
IFDNE match-digest - Delete the key only if the digest of its value is not equal to match-digest
Redis DocsSource§fn digest<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn digest<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn exists<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn exists<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn key_type<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn key_type<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn expire<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
seconds: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn expire<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
seconds: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn expire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ts: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn expire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ts: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn pexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ms: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ms: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn pexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ts: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ts: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn expire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn expire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn pexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn persist<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn persist<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn ttl<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn ttl<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn pttl<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pttl<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn get_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
expire_at: Expiry,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn get_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
expire_at: Expiry,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn get_del<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn get_del<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn copy<'a, KSrc: ToSingleRedisArg + Send + Sync + 'a, KDst: ToSingleRedisArg + Send + Sync + 'a, Db: ToString + Send + Sync + 'a, RV>(
&'a mut self,
source: KSrc,
destination: KDst,
options: CopyOptions<Db>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn copy<'a, KSrc: ToSingleRedisArg + Send + Sync + 'a, KDst: ToSingleRedisArg + Send + Sync + 'a, Db: ToString + Send + Sync + 'a, RV>(
&'a mut self,
source: KSrc,
destination: KDst,
options: CopyOptions<Db>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn rename<'a, K: ToSingleRedisArg + Send + Sync + 'a, N: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
new_key: N,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn rename<'a, K: ToSingleRedisArg + Send + Sync + 'a, N: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
new_key: N,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn rename_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, N: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
new_key: N,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn rename_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, N: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
new_key: N,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn unlink<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn unlink<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.DEL.
Returns number of keys unlinked.
Redis DocsSource§fn append<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn append<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn incr<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
delta: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn incr<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
delta: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.INCRBY or INCRBYFLOAT depending on the type.
If the key does not exist, it is set to 0 before performing the operation.Source§fn decr<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
delta: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn decr<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
delta: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn setbit<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
offset: usize,
value: bool,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn setbit<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
offset: usize,
value: bool,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn getbit<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
offset: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn getbit<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
offset: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn bitcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bitcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn bitcount_range<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: usize,
end: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bitcount_range<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: usize,
end: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn bit_and<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bit_and<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn bit_or<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bit_or<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn bit_xor<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bit_xor<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn bit_not<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckey: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bit_not<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckey: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn bit_diff<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bit_diff<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Perform a set difference to extract the members of X that are not members of any of Y1, Y2,….
Logical representation: X ∧ ¬(Y1 ∨ Y2 ∨ …)
Redis Docs
Source§fn bit_diff1<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bit_diff1<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Perform a relative complement set difference to extract the members of one or more of Y1, Y2,… that are not members of X.
Logical representation: ¬X ∧ (Y1 ∨ Y2 ∨ …)
Redis Docs
Source§fn bit_and_or<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bit_and_or<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Perform an “intersection of union(s)” operation to extract the members of X that are also members of one or more of Y1, Y2,….
Logical representation: X ∧ (Y1 ∨ Y2 ∨ …)
Redis Docs
Source§fn bit_one<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bit_one<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Perform an “exclusive membership” operation to extract the members of exactly one of X, Y1, Y2, ….
Logical representation: (X ∨ Y1 ∨ Y2 ∨ …) ∧ ¬((X ∧ Y1) ∨ (X ∧ Y2) ∨ (Y1 ∧ Y2) ∨ (Y1 ∧ Y3) ∨ …)
Redis Docs
Source§fn strlen<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn strlen<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hget<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hget<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hmget<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hmget<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hget_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
expire_at: Expiry,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hget_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
expire_at: Expiry,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hdel<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hdel<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hget_del<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hget_del<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hset<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hset<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hset_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
hash_field_expiration_options: &'a HashFieldExpirationOptions,
fields_values: &'a [(F, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hset_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
hash_field_expiration_options: &'a HashFieldExpirationOptions,
fields_values: &'a [(F, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hset_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hset_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hset_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
items: &'a [(F, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hset_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
items: &'a [(F, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hincr<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
delta: D,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hincr<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
delta: D,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hexists<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hexists<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn httl<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn httl<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hpttl<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hpttl<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
seconds: i64,
opt: ExpireOption,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
seconds: i64,
opt: ExpireOption,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ts: i64,
opt: ExpireOption,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ts: i64,
opt: ExpireOption,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hpersist<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hpersist<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hpexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
milliseconds: i64,
opt: ExpireOption,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hpexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
milliseconds: i64,
opt: ExpireOption,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hpexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ts: i64,
opt: ExpireOption,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hpexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ts: i64,
opt: ExpireOption,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hpexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hpexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hkeys<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hkeys<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hvals<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hvals<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hgetall<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hgetall<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn hlen<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hlen<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn blmove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
src_dir: Direction,
dst_dir: Direction,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn blmove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
src_dir: Direction,
dst_dir: Direction,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn blmpop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
timeout: f64,
numkeys: usize,
key: K,
dir: Direction,
count: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn blmpop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
timeout: f64,
numkeys: usize,
key: K,
dir: Direction,
count: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.count elements from the first non-empty list key from the list of
provided key names; or blocks until one is available.
Redis DocsSource§fn blpop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn blpop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn brpop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn brpop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn brpoplpush<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn brpoplpush<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn lindex<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
index: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lindex<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
index: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn linsert_before<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn linsert_before<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn linsert_after<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn linsert_after<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn llen<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn llen<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn lmove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
src_dir: Direction,
dst_dir: Direction,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lmove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
src_dir: Direction,
dst_dir: Direction,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn lmpop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
numkeys: usize,
key: K,
dir: Direction,
count: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lmpop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
numkeys: usize,
key: K,
dir: Direction,
count: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.count elements from the first non-empty list key from the list of
provided key names.
Redis DocsSource§fn lpop<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lpop<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.count first elements of the list stored at key. Read moreSource§fn lpos<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
options: LposOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lpos<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
options: LposOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn lpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn lpush_exists<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lpush_exists<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn lrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn lrem<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lrem<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn ltrim<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn ltrim<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn lset<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
index: isize,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lset<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
index: isize,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn ping<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn ping<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn ping_message<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
message: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn ping_message<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
message: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn rpop<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn rpop<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.count last elements of the list stored at key Read moreSource§fn rpoplpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
dstkey: D,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn rpoplpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
dstkey: D,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn rpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn rpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn rpush_exists<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn rpush_exists<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn sadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn sadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn scard<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn scard<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn sdiff<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn sdiff<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn sdiffstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn sdiffstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn sinter<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn sinter<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn sinterstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn sinterstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn sismember<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn sismember<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn smismember<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn smismember<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn smembers<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn smembers<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn smove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn smove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn spop<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn spop<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn srandmember<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn srandmember<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn srandmember_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn srandmember_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn srem<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn srem<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn sunion<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn sunion<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn sunionstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn sunionstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
score: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
score: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zadd_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
items: &'a [(S, M)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zadd_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
items: &'a [(S, M)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zadd_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
score: S,
options: &'a SortedSetAddOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zadd_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
score: S,
options: &'a SortedSetAddOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zadd_multiple_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
items: &'a [(S, M)],
options: &'a SortedSetAddOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zadd_multiple_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
items: &'a [(S, M)],
options: &'a SortedSetAddOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zcard<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zcard<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zincr<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
delta: D,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zincr<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
delta: D,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zinterstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zinterstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zinterstore_min<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zinterstore_min<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zinterstore_max<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zinterstore_max<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zinterstore_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zinterstore_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Commands::zinterstore, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zinterstore_min_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zinterstore_min_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Commands::zinterstore_min, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zinterstore_max_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zinterstore_max_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Commands::zinterstore_max, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zlexcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zlexcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn bzpopmax<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bzpopmax<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zpopmax<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zpopmax<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn bzpopmin<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bzpopmin<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zpopmin<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zpopmin<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn bzmpop_max<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
timeout: f64,
keys: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bzmpop_max<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
timeout: f64,
keys: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zmpop_max<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zmpop_max<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn bzmpop_min<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
timeout: f64,
keys: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bzmpop_min<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
timeout: f64,
keys: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zmpop_min<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zmpop_min<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrandmember<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: Option<isize>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrandmember<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: Option<isize>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.count == None)
Redis DocsSource§fn zrandmember_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrandmember_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrange_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrange_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrangebylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrangebylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrangebylex_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrangebylex_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrevrangebylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrangebylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrevrangebylex_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrangebylex_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrangebyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrangebyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrangebyscore_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrangebyscore_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrangebyscore_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrangebyscore_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrangebyscore_limit_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrangebyscore_limit_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrem<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrem<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrembylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrembylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zremrangebyrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zremrangebyrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrembyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrembyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrevrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrevrange_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrange_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrevrangebyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrangebyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrevrangebyscore_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrangebyscore_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrevrangebyscore_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrangebyscore_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrevrangebyscore_limit_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrangebyscore_limit_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zrevrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zscore_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: &'a [M],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zscore_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: &'a [M],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zunionstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zunionstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zunionstore_min<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zunionstore_min<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zunionstore_max<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zunionstore_max<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn zunionstore_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zunionstore_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Commands::zunionstore, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zunionstore_min_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zunionstore_min_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Commands::zunionstore_min, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zunionstore_max_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zunionstore_max_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Commands::zunionstore_max, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn vadd<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
input: VectorAddInput<'a>,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vadd<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
input: VectorAddInput<'a>,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vadd_options<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
input: VectorAddInput<'a>,
element: E,
options: &'a VAddOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vadd_options<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
input: VectorAddInput<'a>,
element: E,
options: &'a VAddOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vcard<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vcard<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vdim<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vdim<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vemb<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vemb<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vemb_options<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
options: &'a VEmbOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vemb_options<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
options: &'a VEmbOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vrem<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vrem<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vsetattr<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, J: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
json_object: &'a J,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vsetattr<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, J: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
json_object: &'a J,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vdelattr<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vdelattr<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vgetattr<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vgetattr<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vinfo<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vinfo<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vlinks<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vlinks<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vlinks_with_scores<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vlinks_with_scores<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vrandmember<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vrandmember<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vrandmember_multiple<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vrandmember_multiple<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vsim<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
input: VectorSimilaritySearchInput<'a>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vsim<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
input: VectorSimilaritySearchInput<'a>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn vsim_options<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
input: VectorSimilaritySearchInput<'a>,
options: &'a VSimOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn vsim_options<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
input: VectorSimilaritySearchInput<'a>,
options: &'a VSimOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
vector-sets only.Source§fn pfadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pfadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn pfcount<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pfcount<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn pfmerge<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pfmerge<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn publish<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
channel: K,
message: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn publish<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
channel: K,
message: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn spublish<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
channel: K,
message: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn spublish<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
channel: K,
message: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn object_encoding<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn object_encoding<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn object_idletime<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn object_idletime<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn object_freq<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn object_freq<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn object_refcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn object_refcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn client_getname<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn client_getname<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn client_id<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn client_id<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn client_setname<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
connection_name: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn client_setname<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
connection_name: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn acl_load<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_load<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_save<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_save<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_list<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_list<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_users<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_users<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_getuser<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_getuser<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_setuser<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_setuser<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_setuser_rules<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
rules: &'a [Rule],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_setuser_rules<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
rules: &'a [Rule],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_deluser<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
usernames: &'a [K],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_deluser<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
usernames: &'a [K],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_dryrun<'a, K: ToSingleRedisArg + Send + Sync + 'a, C: ToSingleRedisArg + Send + Sync + 'a, A: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
command: C,
args: A,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_dryrun<'a, K: ToSingleRedisArg + Send + Sync + 'a, C: ToSingleRedisArg + Send + Sync + 'a, A: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
command: C,
args: A,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_cat<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_cat<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_cat_categoryname<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
categoryname: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_cat_categoryname<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
categoryname: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_genpass<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_genpass<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_genpass_bits<'a, RV>(&'a mut self, bits: isize) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_genpass_bits<'a, RV>(&'a mut self, bits: isize) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_whoami<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_whoami<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_log<'a, RV>(&'a mut self, count: isize) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_log<'a, RV>(&'a mut self, count: isize) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_log_reset<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_log_reset<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn acl_help<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_help<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl only.Source§fn geo_add<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn geo_add<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
geospatial only.Source§fn geo_dist<'a, K: ToSingleRedisArg + Send + Sync + 'a, M1: ToSingleRedisArg + Send + Sync + 'a, M2: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member1: M1,
member2: M2,
unit: Unit,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn geo_dist<'a, K: ToSingleRedisArg + Send + Sync + 'a, M1: ToSingleRedisArg + Send + Sync + 'a, M2: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member1: M1,
member2: M2,
unit: Unit,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
geospatial only.Source§fn geo_hash<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn geo_hash<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
geospatial only.Source§fn geo_pos<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn geo_pos<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
geospatial only.Source§fn geo_radius<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
longitude: f64,
latitude: f64,
radius: f64,
unit: Unit,
options: RadiusOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn geo_radius<'a, K: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
longitude: f64,
latitude: f64,
radius: f64,
unit: Unit,
options: RadiusOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
geospatial only.Source§fn geo_radius_by_member<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
radius: f64,
unit: Unit,
options: RadiusOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn geo_radius_by_member<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
radius: f64,
unit: Unit,
options: RadiusOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
geospatial only.member. The
member itself is always contained in the results.
Redis DocsSource§fn xack<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, I: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
ids: &'a [I],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xack<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, I: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
ids: &'a [I],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xadd<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
id: ID,
items: &'a [(F, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xadd<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
id: ID,
items: &'a [(F, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xadd_map<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, BTM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
id: ID,
map: BTM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xadd_map<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, BTM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
id: ID,
map: BTM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.key.
Use * as the id for the current timestamp. Read moreSource§fn xadd_options<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, I: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
id: ID,
items: I,
options: &'a StreamAddOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xadd_options<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, I: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
id: ID,
items: I,
options: &'a StreamAddOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xadd_maxlen<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
maxlen: StreamMaxlen,
id: ID,
items: &'a [(F, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xadd_maxlen<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
maxlen: StreamMaxlen,
id: ID,
items: &'a [(F, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xadd_maxlen_map<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, BTM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
maxlen: StreamMaxlen,
id: ID,
map: BTM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xadd_maxlen_map<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, BTM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
maxlen: StreamMaxlen,
id: ID,
map: BTM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xautoclaim_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
start: S,
options: StreamAutoClaimOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xautoclaim_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
start: S,
options: StreamAutoClaimOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xclaim<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
ids: &'a [ID],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xclaim<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
ids: &'a [ID],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xclaim_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
ids: &'a [ID],
options: StreamClaimOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xclaim_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
ids: &'a [ID],
options: StreamClaimOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xdel<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ids: &'a [ID],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xdel<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ids: &'a [ID],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xdel_ex<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ids: &'a [ID],
options: StreamDeletionPolicy,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xdel_ex<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ids: &'a [ID],
options: StreamDeletionPolicy,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.XDEL command that provides finer control over how message entries are deleted with respect to consumer groups.Source§fn xack_del<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
ids: &'a [ID],
options: StreamDeletionPolicy,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xack_del<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
ids: &'a [ID],
options: StreamDeletionPolicy,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.XACK and XDEL that acknowledges and attempts to delete a list of ids for a given stream key and consumer group.Source§fn xgroup_create<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
id: ID,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xgroup_create<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
id: ID,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.group. It expects the stream key
to already exist. Otherwise, use xgroup_create_mkstream if it doesn’t.
The id is the starting message id all consumers should read from. Use $ If you want
all consumers to read from the last message added to stream. Read moreSource§fn xgroup_createconsumer<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
consumer: C,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xgroup_createconsumer<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
consumer: C,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.consumer explicitly (vs implicit via XREADGROUP)
for given stream `key. Read moreSource§fn xgroup_create_mkstream<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
id: ID,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xgroup_create_mkstream<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
id: ID,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.group
which makes the stream if it doesn’t exist. Read moreSource§fn xgroup_setid<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
id: ID,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xgroup_setid<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
id: ID,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xgroup_destroy<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xgroup_destroy<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xgroup_delconsumer<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
consumer: C,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xgroup_delconsumer<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
consumer: C,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xinfo_consumers<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xinfo_consumers<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.group.
Take note of the StreamInfoConsumersReply return type. Read moreSource§fn xinfo_groups<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xinfo_groups<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.groups created for a given stream key.
Take note of the StreamInfoGroupsReply return type. Read moreSource§fn xinfo_stream<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xinfo_stream<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.id, length, number of groups, etc.)
Take note of the StreamInfoStreamReply return type. Read moreSource§fn xlen<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xlen<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.key. Read moreSource§fn xpending<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xpending<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.key and consumer group and it
returns details about which consumers have pending messages
that haven’t been acked. Read moreSource§fn xpending_count<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
start: S,
end: E,
count: C,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xpending_count<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
start: S,
end: E,
count: C,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xpending_consumer_count<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, CN: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
start: S,
end: E,
count: C,
consumer: CN,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xpending_consumer_count<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, CN: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
group: G,
start: S,
end: E,
count: C,
consumer: CN,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xrange<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: S,
end: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xrange<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: S,
end: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.key. Read moreSource§fn xrange_all<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xrange_all<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.key.
Use with caution! Read moreSource§fn xrange_count<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: S,
end: E,
count: C,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xrange_count<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: S,
end: E,
count: C,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.key. Read moreSource§fn xread<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: &'a [K],
ids: &'a [ID],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xread<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: &'a [K],
ids: &'a [ID],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.ids for each stream key.
This is the basic form of reading streams.
For more advanced control, like blocking, limiting, or reading by consumer group,
see xread_options. Read moreSource§fn xread_options<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: &'a [K],
ids: &'a [ID],
options: &'a StreamReadOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xread_options<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
keys: &'a [K],
ids: &'a [ID],
options: &'a StreamReadOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xrevrange<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
end: E,
start: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xrevrange<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
end: E,
start: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xrevrange_all<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xrevrange_all<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xrevrange_count<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
end: E,
start: S,
count: C,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xrevrange_count<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
end: E,
start: S,
count: C,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.Source§fn xtrim<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
maxlen: StreamMaxlen,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xtrim<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
maxlen: StreamMaxlen,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.key to a MAXLEN count. Read moreSource§fn xtrim_options<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
options: &'a StreamTrimOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xtrim_options<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
options: &'a StreamTrimOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams only.key with full options Read moreSource§fn load_script<'a, RV>(&'a mut self, script: &'a Script) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn load_script<'a, RV>(&'a mut self, script: &'a Script) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
script only.Source§fn invoke_script<'a, RV>(
&'a mut self,
invocation: &'a ScriptInvocation<'a>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn invoke_script<'a, RV>(
&'a mut self,
invocation: &'a ScriptInvocation<'a>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
script only.Source§fn flushall<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn flushall<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn flushall_options<'a, RV>(
&'a mut self,
options: &'a FlushAllOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn flushall_options<'a, RV>(
&'a mut self,
options: &'a FlushAllOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn flushdb<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn flushdb<'a, RV>(&'a mut self) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn flushdb_options<'a, RV>(
&'a mut self,
options: &'a FlushDbOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn flushdb_options<'a, RV>(
&'a mut self,
options: &'a FlushDbOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
aio only.Source§fn scan<RV: FromRedisValue>(&mut self) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn scan<RV: FromRedisValue>(&mut self) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn scan_options<RV: FromRedisValue>(
&mut self,
opts: ScanOptions,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn scan_options<RV: FromRedisValue>( &mut self, opts: ScanOptions, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn scan_match<P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn scan_match<P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn hscan<K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn hscan<K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn hscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn hscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn sscan<K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn sscan<K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn sscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn sscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn zscan<K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn zscan<K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn zscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn zscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§impl<T> AsyncTypedCommands for T
impl<T> AsyncTypedCommands for T
Source§fn get<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<String>>
fn get<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<String>>
aio only.MGET (if using TypedCommands, you should specifically use mget to get the correct return type.
Redis DocsSource§fn mget<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Vec<Option<String>>>
fn mget<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Vec<Option<String>>>
aio only.Source§fn keys<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Vec<String>>
fn keys<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn set<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, ()>
fn set<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, ()>
aio only.Source§fn set_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
options: SetOptions,
) -> RedisFuture<'a, Option<String>>
fn set_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, options: SetOptions, ) -> RedisFuture<'a, Option<String>>
aio only.Source§fn mset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
items: &'a [(K, V)],
) -> RedisFuture<'a, ()>
fn mset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, items: &'a [(K, V)], ) -> RedisFuture<'a, ()>
aio only.Source§fn set_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
seconds: u64,
) -> RedisFuture<'a, ()>
fn set_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, seconds: u64, ) -> RedisFuture<'a, ()>
aio only.Source§fn pset_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
milliseconds: u64,
) -> RedisFuture<'a, ()>
fn pset_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, milliseconds: u64, ) -> RedisFuture<'a, ()>
aio only.Source§fn set_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, bool>
fn set_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, bool>
aio only.Source§fn mset_nx<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
items: &'a [(K, V)],
) -> RedisFuture<'a, bool>
fn mset_nx<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, items: &'a [(K, V)], ) -> RedisFuture<'a, bool>
aio only.Source§fn mset_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
items: &'a [(K, V)],
options: MSetOptions,
) -> RedisFuture<'a, bool>
fn mset_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, items: &'a [(K, V)], options: MSetOptions, ) -> RedisFuture<'a, bool>
aio only.Source§fn getset<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, Option<String>>
fn getset<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, Option<String>>
aio only.Source§fn getrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
from: isize,
to: isize,
) -> RedisFuture<'a, String>
fn getrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, from: isize, to: isize, ) -> RedisFuture<'a, String>
aio only.Source§fn setrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
offset: isize,
value: V,
) -> RedisFuture<'a, usize>
fn setrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, offset: isize, value: V, ) -> RedisFuture<'a, usize>
aio only.Source§fn del<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn del<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn del_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value_comparison: ValueComparison,
) -> RedisFuture<'a, usize>
fn del_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value_comparison: ValueComparison, ) -> RedisFuture<'a, usize>
aio only.match-value - Delete the key only if its value is equal to match-value
IFNE match-value - Delete the key only if its value is not equal to match-value
IFDEQ match-digest - Delete the key only if the digest of its value is equal to match-digest
IFDNE match-digest - Delete the key only if the digest of its value is not equal to match-digest
Redis DocsSource§fn digest<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<String>>
fn digest<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<String>>
aio only.Source§fn exists<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, bool>
fn exists<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, bool>
aio only.Source§fn key_type<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, ValueType>
fn key_type<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, ValueType>
aio only.Source§fn expire<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
seconds: i64,
) -> RedisFuture<'a, bool>
fn expire<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, seconds: i64, ) -> RedisFuture<'a, bool>
aio only.Source§fn expire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
ts: i64,
) -> RedisFuture<'a, bool>
fn expire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ts: i64, ) -> RedisFuture<'a, bool>
aio only.Source§fn pexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
ms: i64,
) -> RedisFuture<'a, bool>
fn pexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ms: i64, ) -> RedisFuture<'a, bool>
aio only.Source§fn pexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
ts: i64,
) -> RedisFuture<'a, bool>
fn pexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ts: i64, ) -> RedisFuture<'a, bool>
aio only.Source§fn expire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, IntegerReplyOrNoOp>
fn expire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, IntegerReplyOrNoOp>
aio only.ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn pexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, IntegerReplyOrNoOp>
fn pexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, IntegerReplyOrNoOp>
aio only.ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn persist<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, bool>
fn persist<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, bool>
aio only.Source§fn ttl<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, IntegerReplyOrNoOp>
fn ttl<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, IntegerReplyOrNoOp>
aio only.ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn pttl<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, IntegerReplyOrNoOp>
fn pttl<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, IntegerReplyOrNoOp>
aio only.ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn get_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
expire_at: Expiry,
) -> RedisFuture<'a, Option<String>>
fn get_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, expire_at: Expiry, ) -> RedisFuture<'a, Option<String>>
aio only.Source§fn get_del<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<String>>
fn get_del<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<String>>
aio only.Source§fn copy<'a, KSrc: ToSingleRedisArg + Send + Sync + 'a, KDst: ToSingleRedisArg + Send + Sync + 'a, Db: ToString + Send + Sync + 'a>(
&'a mut self,
source: KSrc,
destination: KDst,
options: CopyOptions<Db>,
) -> RedisFuture<'a, bool>
fn copy<'a, KSrc: ToSingleRedisArg + Send + Sync + 'a, KDst: ToSingleRedisArg + Send + Sync + 'a, Db: ToString + Send + Sync + 'a>( &'a mut self, source: KSrc, destination: KDst, options: CopyOptions<Db>, ) -> RedisFuture<'a, bool>
aio only.Source§fn rename<'a, K: ToSingleRedisArg + Send + Sync + 'a, N: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
new_key: N,
) -> RedisFuture<'a, ()>
fn rename<'a, K: ToSingleRedisArg + Send + Sync + 'a, N: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, new_key: N, ) -> RedisFuture<'a, ()>
aio only.Source§fn rename_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, N: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
new_key: N,
) -> RedisFuture<'a, bool>
fn rename_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, N: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, new_key: N, ) -> RedisFuture<'a, bool>
aio only.Source§fn unlink<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn unlink<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
aio only.DEL.
Returns number of keys unlinked.
Redis DocsSource§fn append<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, usize>
fn append<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, usize>
aio only.Source§fn incr<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
delta: V,
) -> RedisFuture<'a, isize>
fn incr<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, delta: V, ) -> RedisFuture<'a, isize>
aio only.INCRBY or INCRBYFLOAT depending on the type.
If the key does not exist, it is set to 0 before performing the operation.Source§fn decr<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
delta: V,
) -> RedisFuture<'a, isize>
fn decr<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, delta: V, ) -> RedisFuture<'a, isize>
aio only.Source§fn setbit<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
offset: usize,
value: bool,
) -> RedisFuture<'a, bool>
fn setbit<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, offset: usize, value: bool, ) -> RedisFuture<'a, bool>
aio only.Source§fn getbit<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
offset: usize,
) -> RedisFuture<'a, bool>
fn getbit<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, offset: usize, ) -> RedisFuture<'a, bool>
aio only.Source§fn bitcount<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn bitcount<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn bitcount_range<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: usize,
end: usize,
) -> RedisFuture<'a, usize>
fn bitcount_range<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: usize, end: usize, ) -> RedisFuture<'a, usize>
aio only.Source§fn bit_and<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, usize>
fn bit_and<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisFuture<'a, usize>
aio only.Source§fn bit_or<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, usize>
fn bit_or<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisFuture<'a, usize>
aio only.Source§fn bit_xor<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, usize>
fn bit_xor<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisFuture<'a, usize>
aio only.Source§fn bit_not<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckey: S,
) -> RedisFuture<'a, usize>
fn bit_not<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, dstkey: D, srckey: S, ) -> RedisFuture<'a, usize>
aio only.Source§fn bit_diff<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, usize>
fn bit_diff<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisFuture<'a, usize>
aio only.Perform a set difference to extract the members of X that are not members of any of Y1, Y2,….
Logical representation: X ∧ ¬(Y1 ∨ Y2 ∨ …)
Redis Docs
Source§fn bit_diff1<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, usize>
fn bit_diff1<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisFuture<'a, usize>
aio only.Perform a relative complement set difference to extract the members of one or more of Y1, Y2,… that are not members of X.
Logical representation: ¬X ∧ (Y1 ∨ Y2 ∨ …)
Redis Docs
Source§fn bit_and_or<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, usize>
fn bit_and_or<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisFuture<'a, usize>
aio only.Perform an “intersection of union(s)” operation to extract the members of X that are also members of one or more of Y1, Y2,….
Logical representation: X ∧ (Y1 ∨ Y2 ∨ …)
Redis Docs
Source§fn bit_one<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, usize>
fn bit_one<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisFuture<'a, usize>
aio only.Perform an “exclusive membership” operation to extract the members of exactly one of X, Y1, Y2, ….
Logical representation: (X ∨ Y1 ∨ Y2 ∨ …) ∧ ¬((X ∧ Y1) ∨ (X ∧ Y2) ∨ (Y1 ∧ Y2) ∨ (Y1 ∧ Y3) ∨ …)
Redis Docs
Source§fn strlen<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn strlen<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn hget<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, Option<String>>
fn hget<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, field: F, ) -> RedisFuture<'a, Option<String>>
aio only.Source§fn hmget<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, Vec<String>>
fn hmget<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn hget_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
expire_at: Expiry,
) -> RedisFuture<'a, Vec<String>>
fn hget_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, expire_at: Expiry, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn hdel<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, usize>
fn hdel<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, field: F, ) -> RedisFuture<'a, usize>
aio only.Source§fn hget_del<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, Vec<Option<String>>>
fn hget_del<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<Option<String>>>
aio only.Source§fn hset<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisFuture<'a, usize>
fn hset<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, field: F, value: V, ) -> RedisFuture<'a, usize>
aio only.Source§fn hset_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
hash_field_expiration_options: &'a HashFieldExpirationOptions,
fields_values: &'a [(F, V)],
) -> RedisFuture<'a, bool>
fn hset_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, hash_field_expiration_options: &'a HashFieldExpirationOptions, fields_values: &'a [(F, V)], ) -> RedisFuture<'a, bool>
aio only.Source§fn hset_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisFuture<'a, bool>
fn hset_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, field: F, value: V, ) -> RedisFuture<'a, bool>
aio only.Source§fn hset_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
items: &'a [(F, V)],
) -> RedisFuture<'a, ()>
fn hset_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, items: &'a [(F, V)], ) -> RedisFuture<'a, ()>
aio only.Source§fn hincr<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
delta: D,
) -> RedisFuture<'a, f64>
fn hincr<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, field: F, delta: D, ) -> RedisFuture<'a, f64>
aio only.Source§fn hexists<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, bool>
fn hexists<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, field: F, ) -> RedisFuture<'a, bool>
aio only.Source§fn httl<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn httl<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
aio only.Source§fn hpttl<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn hpttl<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
aio only.Source§fn hexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
seconds: i64,
opt: ExpireOption,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn hexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, seconds: i64, opt: ExpireOption, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
aio only.Source§fn hexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
ts: i64,
opt: ExpireOption,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn hexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ts: i64, opt: ExpireOption, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
aio only.Source§fn hexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn hexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
aio only.Source§fn hpersist<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn hpersist<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
aio only.Source§fn hpexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
milliseconds: i64,
opt: ExpireOption,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn hpexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, milliseconds: i64, opt: ExpireOption, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
aio only.Source§fn hpexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
ts: i64,
opt: ExpireOption,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn hpexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ts: i64, opt: ExpireOption, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
aio only.Source§fn hpexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn hpexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
aio only.Source§fn hkeys<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Vec<String>>
fn hkeys<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn hvals<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Vec<String>>
fn hvals<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn hgetall<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, HashMap<String, String>>
fn hgetall<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, HashMap<String, String>>
aio only.Source§fn hlen<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn hlen<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn blmove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
srckey: S,
dstkey: D,
src_dir: Direction,
dst_dir: Direction,
timeout: f64,
) -> RedisFuture<'a, Option<String>>
fn blmove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, srckey: S, dstkey: D, src_dir: Direction, dst_dir: Direction, timeout: f64, ) -> RedisFuture<'a, Option<String>>
aio only.Source§fn blmpop<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
timeout: f64,
numkeys: usize,
key: K,
dir: Direction,
count: usize,
) -> RedisFuture<'a, Option<[String; 2]>>
fn blmpop<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, timeout: f64, numkeys: usize, key: K, dir: Direction, count: usize, ) -> RedisFuture<'a, Option<[String; 2]>>
aio only.count elements from the first non-empty list key from the list of
provided key names; or blocks until one is available.
Redis DocsSource§fn blpop<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisFuture<'a, Option<[String; 2]>>
fn blpop<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, timeout: f64, ) -> RedisFuture<'a, Option<[String; 2]>>
aio only.Source§fn brpop<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisFuture<'a, Option<[String; 2]>>
fn brpop<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, timeout: f64, ) -> RedisFuture<'a, Option<[String; 2]>>
aio only.Source§fn brpoplpush<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
srckey: S,
dstkey: D,
timeout: f64,
) -> RedisFuture<'a, Option<String>>
fn brpoplpush<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, srckey: S, dstkey: D, timeout: f64, ) -> RedisFuture<'a, Option<String>>
aio only.Source§fn lindex<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
index: isize,
) -> RedisFuture<'a, Option<String>>
fn lindex<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, index: isize, ) -> RedisFuture<'a, Option<String>>
aio only.Source§fn linsert_before<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisFuture<'a, isize>
fn linsert_before<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, pivot: P, value: V, ) -> RedisFuture<'a, isize>
aio only.Source§fn linsert_after<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisFuture<'a, isize>
fn linsert_after<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, pivot: P, value: V, ) -> RedisFuture<'a, isize>
aio only.Source§fn llen<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn llen<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn lmove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
srckey: S,
dstkey: D,
src_dir: Direction,
dst_dir: Direction,
) -> RedisFuture<'a, String>
fn lmove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, srckey: S, dstkey: D, src_dir: Direction, dst_dir: Direction, ) -> RedisFuture<'a, String>
aio only.Source§fn lmpop<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
numkeys: usize,
key: K,
dir: Direction,
count: usize,
) -> RedisFuture<'a, Option<(String, Vec<String>)>>
fn lmpop<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, numkeys: usize, key: K, dir: Direction, count: usize, ) -> RedisFuture<'a, Option<(String, Vec<String>)>>
aio only.count elements from the first non-empty list key from the list of
provided key names.
Redis DocsSource§fn lpop<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisFuture<'a, RV>
fn lpop<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: Option<NonZeroUsize>, ) -> RedisFuture<'a, RV>
aio only.count first elements of the list stored at key. Read moreSource§fn lpos<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
options: LposOptions,
) -> RedisFuture<'a, RV>
fn lpos<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, options: LposOptions, ) -> RedisFuture<'a, RV>
aio only.Source§fn lpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, usize>
fn lpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, usize>
aio only.Source§fn lpush_exists<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, usize>
fn lpush_exists<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, usize>
aio only.Source§fn lrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, Vec<String>>
fn lrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn lrem<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
value: V,
) -> RedisFuture<'a, usize>
fn lrem<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: isize, value: V, ) -> RedisFuture<'a, usize>
aio only.Source§fn ltrim<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, ()>
fn ltrim<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, ()>
aio only.Source§fn lset<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
index: isize,
value: V,
) -> RedisFuture<'a, ()>
fn lset<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, index: isize, value: V, ) -> RedisFuture<'a, ()>
aio only.Source§fn ping<'a>(&'a mut self) -> RedisFuture<'a, String>
fn ping<'a>(&'a mut self) -> RedisFuture<'a, String>
aio only.Source§fn ping_message<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
message: K,
) -> RedisFuture<'a, String>
fn ping_message<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, message: K, ) -> RedisFuture<'a, String>
aio only.Source§fn rpop<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisFuture<'a, RV>
fn rpop<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: Option<NonZeroUsize>, ) -> RedisFuture<'a, RV>
aio only.count last elements of the list stored at key Read moreSource§fn rpoplpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
dstkey: D,
) -> RedisFuture<'a, Option<String>>
fn rpoplpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, dstkey: D, ) -> RedisFuture<'a, Option<String>>
aio only.Source§fn rpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, usize>
fn rpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, usize>
aio only.Source§fn rpush_exists<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, usize>
fn rpush_exists<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, usize>
aio only.Source§fn sadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, usize>
fn sadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisFuture<'a, usize>
aio only.Source§fn scard<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn scard<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn sdiff<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: K,
) -> RedisFuture<'a, HashSet<String>>
fn sdiff<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: K, ) -> RedisFuture<'a, HashSet<String>>
aio only.Source§fn sdiffstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn sdiffstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn sinter<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: K,
) -> RedisFuture<'a, HashSet<String>>
fn sinter<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: K, ) -> RedisFuture<'a, HashSet<String>>
aio only.Source§fn sinterstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn sinterstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn sismember<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, bool>
fn sismember<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisFuture<'a, bool>
aio only.Source§fn smismember<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, Vec<bool>>
fn smismember<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: M, ) -> RedisFuture<'a, Vec<bool>>
aio only.Source§fn smembers<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, HashSet<String>>
fn smembers<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, HashSet<String>>
aio only.Source§fn smove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
srckey: S,
dstkey: D,
member: M,
) -> RedisFuture<'a, bool>
fn smove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, srckey: S, dstkey: D, member: M, ) -> RedisFuture<'a, bool>
aio only.Source§fn spop<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>
fn spop<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, RV>
aio only.Source§fn srandmember<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<String>>
fn srandmember<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<String>>
aio only.Source§fn srandmember_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, Vec<String>>
fn srandmember_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: isize, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn srem<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, usize>
fn srem<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisFuture<'a, usize>
aio only.Source§fn sunion<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: K,
) -> RedisFuture<'a, HashSet<String>>
fn sunion<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: K, ) -> RedisFuture<'a, HashSet<String>>
aio only.Source§fn sunionstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn sunionstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn zadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
score: S,
) -> RedisFuture<'a, usize>
fn zadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, score: S, ) -> RedisFuture<'a, usize>
aio only.Source§fn zadd_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
items: &'a [(S, M)],
) -> RedisFuture<'a, usize>
fn zadd_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, items: &'a [(S, M)], ) -> RedisFuture<'a, usize>
aio only.Source§fn zadd_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
score: S,
options: &'a SortedSetAddOptions,
) -> RedisFuture<'a, usize>
fn zadd_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, score: S, options: &'a SortedSetAddOptions, ) -> RedisFuture<'a, usize>
aio only.Source§fn zadd_multiple_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
items: &'a [(S, M)],
options: &'a SortedSetAddOptions,
) -> RedisFuture<'a, usize>
fn zadd_multiple_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, items: &'a [(S, M)], options: &'a SortedSetAddOptions, ) -> RedisFuture<'a, usize>
aio only.Source§fn zcard<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn zcard<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn zcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, usize>
fn zcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, usize>
aio only.Source§fn zincr<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
delta: D,
) -> RedisFuture<'a, f64>
fn zincr<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, delta: D, ) -> RedisFuture<'a, f64>
aio only.Source§fn zinterstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn zinterstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn zinterstore_min<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn zinterstore_min<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn zinterstore_max<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn zinterstore_max<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn zinterstore_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, usize>
fn zinterstore_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisFuture<'a, usize>
aio only.Commands::zinterstore, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zinterstore_min_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, usize>
fn zinterstore_min_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisFuture<'a, usize>
aio only.Commands::zinterstore_min, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zinterstore_max_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, usize>
fn zinterstore_max_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisFuture<'a, usize>
aio only.Commands::zinterstore_max, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zlexcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, usize>
fn zlexcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, usize>
aio only.Source§fn bzpopmax<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisFuture<'a, Option<(String, String, f64)>>
fn bzpopmax<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, timeout: f64, ) -> RedisFuture<'a, Option<(String, String, f64)>>
aio only.Source§fn zpopmax<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, Vec<String>>
fn zpopmax<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: isize, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn bzpopmin<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisFuture<'a, Option<(String, String, f64)>>
fn bzpopmin<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, timeout: f64, ) -> RedisFuture<'a, Option<(String, String, f64)>>
aio only.Source§fn zpopmin<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, Vec<String>>
fn zpopmin<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: isize, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn bzmpop_max<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
timeout: f64,
keys: K,
count: isize,
) -> RedisFuture<'a, Option<(String, Vec<(String, f64)>)>>
fn bzmpop_max<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, timeout: f64, keys: K, count: isize, ) -> RedisFuture<'a, Option<(String, Vec<(String, f64)>)>>
aio only.Source§fn zmpop_max<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: K,
count: isize,
) -> RedisFuture<'a, Option<(String, Vec<(String, f64)>)>>
fn zmpop_max<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: K, count: isize, ) -> RedisFuture<'a, Option<(String, Vec<(String, f64)>)>>
aio only.Source§fn bzmpop_min<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
timeout: f64,
keys: K,
count: isize,
) -> RedisFuture<'a, Option<(String, Vec<(String, f64)>)>>
fn bzmpop_min<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, timeout: f64, keys: K, count: isize, ) -> RedisFuture<'a, Option<(String, Vec<(String, f64)>)>>
aio only.Source§fn zmpop_min<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: K,
count: isize,
) -> RedisFuture<'a, Option<(String, Vec<(String, f64)>)>>
fn zmpop_min<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: K, count: isize, ) -> RedisFuture<'a, Option<(String, Vec<(String, f64)>)>>
aio only.Source§fn zrandmember<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: Option<isize>,
) -> RedisFuture<'a, RV>
fn zrandmember<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: Option<isize>, ) -> RedisFuture<'a, RV>
aio only.count == None)
Redis DocsSource§fn zrandmember_withscores<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>
fn zrandmember_withscores<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: isize, ) -> RedisFuture<'a, RV>
aio only.Source§fn zrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, Vec<String>>
fn zrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrange_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, Vec<(String, f64)>>
fn zrange_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, Vec<(String, f64)>>
aio only.Source§fn zrangebylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, Vec<String>>
fn zrangebylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrangebylex_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisFuture<'a, Vec<String>>
fn zrangebylex_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, offset: isize, count: isize, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrevrangebylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, Vec<String>>
fn zrevrangebylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrevrangebylex_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisFuture<'a, Vec<String>>
fn zrevrangebylex_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, offset: isize, count: isize, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrangebyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, Vec<String>>
fn zrangebyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrangebyscore_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, Vec<(String, usize)>>
fn zrangebyscore_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, Vec<(String, usize)>>
aio only.Source§fn zrangebyscore_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisFuture<'a, Vec<String>>
fn zrangebyscore_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, offset: isize, count: isize, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrangebyscore_limit_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisFuture<'a, Vec<(String, usize)>>
fn zrangebyscore_limit_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, offset: isize, count: isize, ) -> RedisFuture<'a, Vec<(String, usize)>>
aio only.Source§fn zrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, Option<usize>>
fn zrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisFuture<'a, Option<usize>>
aio only.Source§fn zrem<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, usize>
fn zrem<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: M, ) -> RedisFuture<'a, usize>
aio only.Source§fn zrembylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, usize>
fn zrembylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, usize>
aio only.Source§fn zremrangebyrank<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, usize>
fn zremrangebyrank<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, usize>
aio only.Source§fn zrembyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, usize>
fn zrembyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, usize>
aio only.Source§fn zrevrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, Vec<String>>
fn zrevrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrevrange_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, Vec<String>>
fn zrevrange_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrevrangebyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, Vec<String>>
fn zrevrangebyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrevrangebyscore_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, Vec<String>>
fn zrevrangebyscore_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrevrangebyscore_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisFuture<'a, Vec<String>>
fn zrevrangebyscore_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, offset: isize, count: isize, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrevrangebyscore_limit_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisFuture<'a, Vec<String>>
fn zrevrangebyscore_limit_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, offset: isize, count: isize, ) -> RedisFuture<'a, Vec<String>>
aio only.Source§fn zrevrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, Option<usize>>
fn zrevrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisFuture<'a, Option<usize>>
aio only.Source§fn zscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, Option<f64>>
fn zscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisFuture<'a, Option<f64>>
aio only.Source§fn zscore_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: &'a [M],
) -> RedisFuture<'a, Option<Vec<f64>>>
fn zscore_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: &'a [M], ) -> RedisFuture<'a, Option<Vec<f64>>>
aio only.Source§fn zunionstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn zunionstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn zunionstore_min<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn zunionstore_min<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn zunionstore_max<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn zunionstore_max<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn zunionstore_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, usize>
fn zunionstore_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisFuture<'a, usize>
aio only.Commands::zunionstore, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zunionstore_min_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, usize>
fn zunionstore_min_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisFuture<'a, usize>
aio only.Commands::zunionstore_min, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zunionstore_max_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisFuture<'a, usize>
fn zunionstore_max_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisFuture<'a, usize>
aio only.Commands::zunionstore_max, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn vadd<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
input: VectorAddInput<'a>,
element: E,
) -> RedisFuture<'a, bool>
fn vadd<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, input: VectorAddInput<'a>, element: E, ) -> RedisFuture<'a, bool>
vector-sets only.Source§fn vadd_options<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
input: VectorAddInput<'a>,
element: E,
options: &'a VAddOptions,
) -> RedisFuture<'a, bool>
fn vadd_options<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, input: VectorAddInput<'a>, element: E, options: &'a VAddOptions, ) -> RedisFuture<'a, bool>
vector-sets only.Source§fn vcard<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn vcard<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
vector-sets only.Source§fn vdim<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn vdim<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
vector-sets only.Source§fn vemb<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>
fn vemb<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, element: E, ) -> RedisFuture<'a, RV>
vector-sets only.Source§fn vemb_options<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
element: E,
options: &'a VEmbOptions,
) -> RedisFuture<'a, RV>
fn vemb_options<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, element: E, options: &'a VEmbOptions, ) -> RedisFuture<'a, RV>
vector-sets only.Source§fn vrem<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, bool>
fn vrem<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, element: E, ) -> RedisFuture<'a, bool>
vector-sets only.Source§fn vsetattr<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, J: Serialize + Send + Sync + 'a>(
&'a mut self,
key: K,
element: E,
json_object: &'a J,
) -> RedisFuture<'a, bool>
fn vsetattr<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, J: Serialize + Send + Sync + 'a>( &'a mut self, key: K, element: E, json_object: &'a J, ) -> RedisFuture<'a, bool>
vector-sets only.Source§fn vdelattr<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, bool>
fn vdelattr<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, element: E, ) -> RedisFuture<'a, bool>
vector-sets only.Source§fn vgetattr<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, Option<String>>
fn vgetattr<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, element: E, ) -> RedisFuture<'a, Option<String>>
vector-sets only.Source§fn vinfo<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<HashMap<String, Value>>>
fn vinfo<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<HashMap<String, Value>>>
vector-sets only.Source§fn vlinks<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>
fn vlinks<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, element: E, ) -> RedisFuture<'a, RV>
vector-sets only.Source§fn vlinks_with_scores<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, RV>
fn vlinks_with_scores<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, element: E, ) -> RedisFuture<'a, RV>
vector-sets only.Source§fn vrandmember<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<String>>
fn vrandmember<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<String>>
vector-sets only.Source§fn vrandmember_multiple<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
count: usize,
) -> RedisFuture<'a, Vec<String>>
fn vrandmember_multiple<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, count: usize, ) -> RedisFuture<'a, Vec<String>>
vector-sets only.Source§fn vsim<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
input: VectorSimilaritySearchInput<'a>,
) -> RedisFuture<'a, RV>
fn vsim<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, input: VectorSimilaritySearchInput<'a>, ) -> RedisFuture<'a, RV>
vector-sets only.Source§fn vsim_options<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
input: VectorSimilaritySearchInput<'a>,
options: &'a VSimOptions,
) -> RedisFuture<'a, RV>
fn vsim_options<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, input: VectorSimilaritySearchInput<'a>, options: &'a VSimOptions, ) -> RedisFuture<'a, RV>
vector-sets only.Source§fn pfadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, bool>
fn pfadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, element: E, ) -> RedisFuture<'a, bool>
aio only.Source§fn pfcount<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn pfcount<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
aio only.Source§fn pfmerge<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, ()>
fn pfmerge<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisFuture<'a, ()>
aio only.Source§fn publish<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
channel: K,
message: E,
) -> RedisFuture<'a, usize>
fn publish<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, channel: K, message: E, ) -> RedisFuture<'a, usize>
aio only.Source§fn spublish<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
channel: K,
message: E,
) -> RedisFuture<'a, usize>
fn spublish<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, channel: K, message: E, ) -> RedisFuture<'a, usize>
aio only.Source§fn object_encoding<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<String>>
fn object_encoding<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<String>>
aio only.Source§fn object_idletime<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<usize>>
fn object_idletime<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<usize>>
aio only.Source§fn object_freq<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<usize>>
fn object_freq<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<usize>>
aio only.Source§fn object_refcount<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<usize>>
fn object_refcount<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<usize>>
aio only.Source§fn client_getname<'a>(&'a mut self) -> RedisFuture<'a, Option<String>>
fn client_getname<'a>(&'a mut self) -> RedisFuture<'a, Option<String>>
aio only.Source§fn client_id<'a>(&'a mut self) -> RedisFuture<'a, isize>
fn client_id<'a>(&'a mut self) -> RedisFuture<'a, isize>
aio only.Source§fn client_setname<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
connection_name: K,
) -> RedisFuture<'a, ()>
fn client_setname<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, connection_name: K, ) -> RedisFuture<'a, ()>
aio only.Source§fn acl_load<'a>(&'a mut self) -> RedisFuture<'a, ()>
fn acl_load<'a>(&'a mut self) -> RedisFuture<'a, ()>
acl only.Source§fn acl_save<'a>(&'a mut self) -> RedisFuture<'a, ()>
fn acl_save<'a>(&'a mut self) -> RedisFuture<'a, ()>
acl only.Source§fn acl_list<'a>(&'a mut self) -> RedisFuture<'a, Vec<String>>
fn acl_list<'a>(&'a mut self) -> RedisFuture<'a, Vec<String>>
acl only.Source§fn acl_users<'a>(&'a mut self) -> RedisFuture<'a, Vec<String>>
fn acl_users<'a>(&'a mut self) -> RedisFuture<'a, Vec<String>>
acl only.Source§fn acl_getuser<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
username: K,
) -> RedisFuture<'a, Option<AclInfo>>
fn acl_getuser<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, username: K, ) -> RedisFuture<'a, Option<AclInfo>>
acl only.Source§fn acl_setuser<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
username: K,
) -> RedisFuture<'a, ()>
fn acl_setuser<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, username: K, ) -> RedisFuture<'a, ()>
acl only.Source§fn acl_setuser_rules<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
username: K,
rules: &'a [Rule],
) -> RedisFuture<'a, ()>
fn acl_setuser_rules<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, username: K, rules: &'a [Rule], ) -> RedisFuture<'a, ()>
acl only.Source§fn acl_deluser<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
usernames: &'a [K],
) -> RedisFuture<'a, usize>
fn acl_deluser<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, usernames: &'a [K], ) -> RedisFuture<'a, usize>
acl only.Source§fn acl_dryrun<'a, K: ToSingleRedisArg + Send + Sync + 'a, C: ToSingleRedisArg + Send + Sync + 'a, A: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
username: K,
command: C,
args: A,
) -> RedisFuture<'a, String>
fn acl_dryrun<'a, K: ToSingleRedisArg + Send + Sync + 'a, C: ToSingleRedisArg + Send + Sync + 'a, A: ToRedisArgs + Send + Sync + 'a>( &'a mut self, username: K, command: C, args: A, ) -> RedisFuture<'a, String>
acl only.Source§fn acl_cat<'a>(&'a mut self) -> RedisFuture<'a, HashSet<String>>
fn acl_cat<'a>(&'a mut self) -> RedisFuture<'a, HashSet<String>>
acl only.Source§fn acl_cat_categoryname<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
categoryname: K,
) -> RedisFuture<'a, HashSet<String>>
fn acl_cat_categoryname<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, categoryname: K, ) -> RedisFuture<'a, HashSet<String>>
acl only.Source§fn acl_genpass<'a>(&'a mut self) -> RedisFuture<'a, String>
fn acl_genpass<'a>(&'a mut self) -> RedisFuture<'a, String>
acl only.Source§fn acl_genpass_bits<'a>(&'a mut self, bits: isize) -> RedisFuture<'a, String>
fn acl_genpass_bits<'a>(&'a mut self, bits: isize) -> RedisFuture<'a, String>
acl only.Source§fn acl_whoami<'a>(&'a mut self) -> RedisFuture<'a, String>
fn acl_whoami<'a>(&'a mut self) -> RedisFuture<'a, String>
acl only.Source§fn acl_log<'a>(&'a mut self, count: isize) -> RedisFuture<'a, Vec<String>>
fn acl_log<'a>(&'a mut self, count: isize) -> RedisFuture<'a, Vec<String>>
acl only.Source§fn acl_log_reset<'a>(&'a mut self) -> RedisFuture<'a, ()>
fn acl_log_reset<'a>(&'a mut self) -> RedisFuture<'a, ()>
acl only.Source§fn acl_help<'a>(&'a mut self) -> RedisFuture<'a, Vec<String>>
fn acl_help<'a>(&'a mut self) -> RedisFuture<'a, Vec<String>>
acl only.Source§fn geo_add<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, usize>
fn geo_add<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: M, ) -> RedisFuture<'a, usize>
geospatial only.Source§fn geo_dist<'a, K: ToSingleRedisArg + Send + Sync + 'a, M1: ToSingleRedisArg + Send + Sync + 'a, M2: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member1: M1,
member2: M2,
unit: Unit,
) -> RedisFuture<'a, Option<f64>>
fn geo_dist<'a, K: ToSingleRedisArg + Send + Sync + 'a, M1: ToSingleRedisArg + Send + Sync + 'a, M2: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member1: M1, member2: M2, unit: Unit, ) -> RedisFuture<'a, Option<f64>>
geospatial only.Source§fn geo_hash<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, Vec<String>>
fn geo_hash<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: M, ) -> RedisFuture<'a, Vec<String>>
geospatial only.Source§fn geo_pos<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, Vec<Option<Coord<f64>>>>
fn geo_pos<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: M, ) -> RedisFuture<'a, Vec<Option<Coord<f64>>>>
geospatial only.Source§fn geo_radius<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
longitude: f64,
latitude: f64,
radius: f64,
unit: Unit,
options: RadiusOptions,
) -> RedisFuture<'a, Vec<RadiusSearchResult>>
fn geo_radius<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, longitude: f64, latitude: f64, radius: f64, unit: Unit, options: RadiusOptions, ) -> RedisFuture<'a, Vec<RadiusSearchResult>>
geospatial only.Source§fn geo_radius_by_member<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
radius: f64,
unit: Unit,
options: RadiusOptions,
) -> RedisFuture<'a, Vec<RadiusSearchResult>>
fn geo_radius_by_member<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, radius: f64, unit: Unit, options: RadiusOptions, ) -> RedisFuture<'a, Vec<RadiusSearchResult>>
geospatial only.member. The
member itself is always contained in the results.
Redis DocsSource§fn xack<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, I: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
ids: &'a [I],
) -> RedisFuture<'a, usize>
fn xack<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, I: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, ids: &'a [I], ) -> RedisFuture<'a, usize>
streams only.Source§fn xadd<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
id: ID,
items: &'a [(F, V)],
) -> RedisFuture<'a, Option<String>>
fn xadd<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, id: ID, items: &'a [(F, V)], ) -> RedisFuture<'a, Option<String>>
streams only.Source§fn xadd_map<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, BTM: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
id: ID,
map: BTM,
) -> RedisFuture<'a, Option<String>>
fn xadd_map<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, BTM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, id: ID, map: BTM, ) -> RedisFuture<'a, Option<String>>
streams only.key.
Use * as the id for the current timestamp. Read moreSource§fn xadd_options<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, I: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
id: ID,
items: I,
options: &'a StreamAddOptions,
) -> RedisFuture<'a, Option<String>>
fn xadd_options<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, I: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, id: ID, items: I, options: &'a StreamAddOptions, ) -> RedisFuture<'a, Option<String>>
streams only.Source§fn xadd_maxlen<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
maxlen: StreamMaxlen,
id: ID,
items: &'a [(F, V)],
) -> RedisFuture<'a, Option<String>>
fn xadd_maxlen<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, maxlen: StreamMaxlen, id: ID, items: &'a [(F, V)], ) -> RedisFuture<'a, Option<String>>
streams only.Source§fn xadd_maxlen_map<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, BTM: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
maxlen: StreamMaxlen,
id: ID,
map: BTM,
) -> RedisFuture<'a, Option<String>>
fn xadd_maxlen_map<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, BTM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, maxlen: StreamMaxlen, id: ID, map: BTM, ) -> RedisFuture<'a, Option<String>>
streams only.Source§fn xautoclaim_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
start: S,
options: StreamAutoClaimOptions,
) -> RedisFuture<'a, StreamAutoClaimReply>
fn xautoclaim_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, consumer: C, min_idle_time: MIT, start: S, options: StreamAutoClaimOptions, ) -> RedisFuture<'a, StreamAutoClaimReply>
streams only.Source§fn xclaim<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
ids: &'a [ID],
) -> RedisFuture<'a, StreamClaimReply>
fn xclaim<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, consumer: C, min_idle_time: MIT, ids: &'a [ID], ) -> RedisFuture<'a, StreamClaimReply>
streams only.Source§fn xclaim_options<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
ids: &'a [ID],
options: StreamClaimOptions,
) -> RedisFuture<'a, RV>
fn xclaim_options<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, consumer: C, min_idle_time: MIT, ids: &'a [ID], options: StreamClaimOptions, ) -> RedisFuture<'a, RV>
streams only.Source§fn xdel<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
ids: &'a [ID],
) -> RedisFuture<'a, usize>
fn xdel<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ids: &'a [ID], ) -> RedisFuture<'a, usize>
streams only.Source§fn xdel_ex<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
ids: &'a [ID],
options: StreamDeletionPolicy,
) -> RedisFuture<'a, Vec<XDelExStatusCode>>
fn xdel_ex<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ids: &'a [ID], options: StreamDeletionPolicy, ) -> RedisFuture<'a, Vec<XDelExStatusCode>>
streams only.XDEL command that provides finer control over how message entries are deleted with respect to consumer groups.Source§fn xack_del<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
ids: &'a [ID],
options: StreamDeletionPolicy,
) -> RedisFuture<'a, Vec<XAckDelStatusCode>>
fn xack_del<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, ids: &'a [ID], options: StreamDeletionPolicy, ) -> RedisFuture<'a, Vec<XAckDelStatusCode>>
streams only.XACK and XDEL that acknowledges and attempts to delete a list of ids for a given stream key and consumer group.Source§fn xgroup_create<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
id: ID,
) -> RedisFuture<'a, ()>
fn xgroup_create<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, id: ID, ) -> RedisFuture<'a, ()>
streams only.group. It expects the stream key
to already exist. Otherwise, use xgroup_create_mkstream if it doesn’t.
The id is the starting message id all consumers should read from. Use $ If you want
all consumers to read from the last message added to stream. Read moreSource§fn xgroup_createconsumer<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
consumer: C,
) -> RedisFuture<'a, bool>
fn xgroup_createconsumer<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, consumer: C, ) -> RedisFuture<'a, bool>
streams only.consumer explicitly (vs implicit via XREADGROUP)
for given stream `key. Read moreSource§fn xgroup_create_mkstream<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
id: ID,
) -> RedisFuture<'a, ()>
fn xgroup_create_mkstream<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, id: ID, ) -> RedisFuture<'a, ()>
streams only.group
which makes the stream if it doesn’t exist. Read moreSource§fn xgroup_setid<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
id: ID,
) -> RedisFuture<'a, ()>
fn xgroup_setid<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, id: ID, ) -> RedisFuture<'a, ()>
streams only.Source§fn xgroup_destroy<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
) -> RedisFuture<'a, bool>
fn xgroup_destroy<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, ) -> RedisFuture<'a, bool>
streams only.Source§fn xgroup_delconsumer<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
consumer: C,
) -> RedisFuture<'a, usize>
fn xgroup_delconsumer<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, consumer: C, ) -> RedisFuture<'a, usize>
streams only.Source§fn xinfo_consumers<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
) -> RedisFuture<'a, StreamInfoConsumersReply>
fn xinfo_consumers<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, ) -> RedisFuture<'a, StreamInfoConsumersReply>
streams only.group.
Take note of the StreamInfoConsumersReply return type. Read moreSource§fn xinfo_groups<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, StreamInfoGroupsReply>
fn xinfo_groups<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, StreamInfoGroupsReply>
streams only.groups created for a given stream key.
Take note of the StreamInfoGroupsReply return type. Read moreSource§fn xinfo_stream<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, StreamInfoStreamReply>
fn xinfo_stream<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, StreamInfoStreamReply>
streams only.id, length, number of groups, etc.)
Take note of the StreamInfoStreamReply return type. Read moreSource§fn xlen<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn xlen<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
streams only.key. Read moreSource§fn xpending<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
) -> RedisFuture<'a, StreamPendingReply>
fn xpending<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, ) -> RedisFuture<'a, StreamPendingReply>
streams only.key and consumer group and it
returns details about which consumers have pending messages
that haven’t been acked. Read moreSource§fn xpending_count<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
start: S,
end: E,
count: C,
) -> RedisFuture<'a, StreamPendingCountReply>
fn xpending_count<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, start: S, end: E, count: C, ) -> RedisFuture<'a, StreamPendingCountReply>
streams only.Source§fn xpending_consumer_count<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, CN: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
start: S,
end: E,
count: C,
consumer: CN,
) -> RedisFuture<'a, StreamPendingCountReply>
fn xpending_consumer_count<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, CN: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, start: S, end: E, count: C, consumer: CN, ) -> RedisFuture<'a, StreamPendingCountReply>
streams only.Source§fn xrange<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
start: S,
end: E,
) -> RedisFuture<'a, StreamRangeReply>
fn xrange<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, start: S, end: E, ) -> RedisFuture<'a, StreamRangeReply>
streams only.key. Read moreSource§fn xrange_all<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, StreamRangeReply>
fn xrange_all<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, StreamRangeReply>
streams only.key.
Use with caution! Read moreSource§fn xrange_count<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
start: S,
end: E,
count: C,
) -> RedisFuture<'a, StreamRangeReply>
fn xrange_count<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, start: S, end: E, count: C, ) -> RedisFuture<'a, StreamRangeReply>
streams only.key. Read moreSource§fn xread<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: &'a [K],
ids: &'a [ID],
) -> RedisFuture<'a, Option<StreamReadReply>>
fn xread<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: &'a [K], ids: &'a [ID], ) -> RedisFuture<'a, Option<StreamReadReply>>
streams only.ids for each stream key.
This is the basic form of reading streams.
For more advanced control, like blocking, limiting, or reading by consumer group,
see xread_options. Read moreSource§fn xread_options<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: &'a [K],
ids: &'a [ID],
options: &'a StreamReadOptions,
) -> RedisFuture<'a, Option<StreamReadReply>>
fn xread_options<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: &'a [K], ids: &'a [ID], options: &'a StreamReadOptions, ) -> RedisFuture<'a, Option<StreamReadReply>>
streams only.Source§fn xrevrange<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
end: E,
start: S,
) -> RedisFuture<'a, StreamRangeReply>
fn xrevrange<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, end: E, start: S, ) -> RedisFuture<'a, StreamRangeReply>
streams only.Source§fn xrevrange_all<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, StreamRangeReply>
fn xrevrange_all<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, StreamRangeReply>
streams only.Source§fn xrevrange_count<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
end: E,
start: S,
count: C,
) -> RedisFuture<'a, StreamRangeReply>
fn xrevrange_count<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, end: E, start: S, count: C, ) -> RedisFuture<'a, StreamRangeReply>
streams only.Source§fn xtrim<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
maxlen: StreamMaxlen,
) -> RedisFuture<'a, usize>
fn xtrim<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, maxlen: StreamMaxlen, ) -> RedisFuture<'a, usize>
streams only.key to a MAXLEN count. Read moreSource§fn xtrim_options<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
options: &'a StreamTrimOptions,
) -> RedisFuture<'a, usize>
fn xtrim_options<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, options: &'a StreamTrimOptions, ) -> RedisFuture<'a, usize>
streams only.key with full options Read moreSource§fn load_script<'a, RV: FromRedisValue>(
&'a mut self,
script: &'a Script,
) -> RedisFuture<'a, RV>
fn load_script<'a, RV: FromRedisValue>( &'a mut self, script: &'a Script, ) -> RedisFuture<'a, RV>
script only.Source§fn invoke_script<'a, RV: FromRedisValue>(
&'a mut self,
invocation: &'a ScriptInvocation<'a>,
) -> RedisFuture<'a, RV>
fn invoke_script<'a, RV: FromRedisValue>( &'a mut self, invocation: &'a ScriptInvocation<'a>, ) -> RedisFuture<'a, RV>
script only.Source§fn flushall<'a>(&'a mut self) -> RedisFuture<'a, ()>
fn flushall<'a>(&'a mut self) -> RedisFuture<'a, ()>
aio only.Source§fn flushall_options<'a>(
&'a mut self,
options: &'a FlushAllOptions,
) -> RedisFuture<'a, ()>
fn flushall_options<'a>( &'a mut self, options: &'a FlushAllOptions, ) -> RedisFuture<'a, ()>
aio only.Source§fn flushdb<'a>(&'a mut self) -> RedisFuture<'a, ()>
fn flushdb<'a>(&'a mut self) -> RedisFuture<'a, ()>
aio only.Source§fn flushdb_options<'a>(
&'a mut self,
options: &'a FlushDbOptions,
) -> RedisFuture<'a, ()>
fn flushdb_options<'a>( &'a mut self, options: &'a FlushDbOptions, ) -> RedisFuture<'a, ()>
aio only.Source§fn scan<RV: FromRedisValue>(&mut self) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn scan<RV: FromRedisValue>(&mut self) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn scan_options<RV: FromRedisValue>(
&mut self,
opts: ScanOptions,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn scan_options<RV: FromRedisValue>( &mut self, opts: ScanOptions, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn scan_match<P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn scan_match<P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn hscan<K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn hscan<K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn hscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn hscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn sscan<K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn sscan<K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn sscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn sscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn zscan<K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn zscan<K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn zscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn zscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
aio only.Source§fn get_int<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<isize>>
fn get_int<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<isize>>
aio only.Option<isize>.Source§fn mget_ints<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Vec<Option<isize>>>
fn mget_ints<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Vec<Option<isize>>>
aio only.Option<isize>s.Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> JsonAsyncCommands for Twhere
T: ConnectionLike + Send,
impl<T> JsonAsyncCommands for Twhere
T: ConnectionLike + Send,
Source§fn json_arr_append<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: &'a V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_arr_append<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: &'a V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.value to the array at path after the last element in it.Source§fn json_arr_index<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: &'a V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_arr_index<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: &'a V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.path, returns first occurrence of valueSource§fn json_arr_index_ss<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: &'a V,
start: &'a isize,
stop: &'a isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_arr_index_ss<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: &'a V,
start: &'a isize,
stop: &'a isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.json_arr_index except takes a start and a stop value, setting these to 0 will mean
they make no effect on the query Read moreSource§fn json_arr_insert<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
index: i64,
value: &'a V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_arr_insert<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
index: i64,
value: &'a V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.Source§fn json_arr_len<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_arr_len<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.path in key.Source§fn json_arr_pop<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
index: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_arr_pop<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
index: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.index in the array. Read moreSource§fn json_arr_trim<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
start: i64,
stop: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_arr_trim<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
start: i64,
stop: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.Source§fn json_clear<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_clear<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.Source§fn json_del<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_del<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.path.Source§fn json_get<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_get<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.path. Read moreSource§fn json_mget<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_mget<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.path. Read moreSource§fn json_num_incr_by<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_num_incr_by<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.path by number.Source§fn json_obj_keys<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_obj_keys<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.path.Source§fn json_obj_len<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_obj_len<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.path in key.Source§fn json_set<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: &'a V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_set<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: &'a V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.path in key.Source§fn json_mset<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key_path_values: &'a [(K, P, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_mset<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: Serialize + Send + Sync + 'a, RV>(
&'a mut self,
key_path_values: &'a [(K, P, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.Source§fn json_str_append<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_str_append<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.json-string values to the string at path.Source§fn json_str_len<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_str_len<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.path in key.Source§fn json_toggle<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_toggle<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.boolean value stored at path.Source§fn json_type<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_type<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json and aio only.path.