pub struct MultiplexedConnection { /* private fields */ }
aio
only.Expand description
A connection object which can be cloned, allowing requests to be be sent concurrently on the same underlying connection (tcp/unix socket).
This connection object is cancellation-safe, and the user can drop request future without polling them to completion,
but this doesn’t mean that the actual request sent to the server is cancelled.
A side-effect of this is that the underlying connection won’t be closed until all sent requests have been answered,
which means that in case of blocking commands, the underlying connection resource might not be released,
even when all clones of the multiplexed connection have been dropped (see https://github.com/redis-rs/redis-rs/issues/1236).
This isn’t an issue in a connection that was created in a canonical way, which ensures that _task_handle
is set, so that
once all of the connection’s clones are dropped, the task will also be dropped. If the user creates the connection in
another way and _task_handle
isn’t set, they should manually spawn the returned driver function, keep the spawned task’s
handle and abort the task whenever they want, at the risk of effectively closing the clones of the multiplexed connection.
Implementations§
Source§impl MultiplexedConnection
impl MultiplexedConnection
Sourcepub async fn new<C>(
connection_info: &RedisConnectionInfo,
stream: C,
) -> RedisResult<(Self, impl Future<Output = ()>)>
pub async fn new<C>( connection_info: &RedisConnectionInfo, stream: C, ) -> RedisResult<(Self, impl Future<Output = ()>)>
Constructs a new MultiplexedConnection
out of a AsyncRead + AsyncWrite
object
and a RedisConnectionInfo
Sourcepub async fn new_with_response_timeout<C>(
connection_info: &RedisConnectionInfo,
stream: C,
response_timeout: Option<Duration>,
) -> RedisResult<(Self, impl Future<Output = ()>)>
pub async fn new_with_response_timeout<C>( connection_info: &RedisConnectionInfo, stream: C, response_timeout: Option<Duration>, ) -> RedisResult<(Self, impl Future<Output = ()>)>
Constructs a new MultiplexedConnection
out of a AsyncRead + AsyncWrite
object
and a RedisConnectionInfo
. The new object will wait on operations for the given response_timeout
.
Sourcepub async fn new_with_config<C>(
connection_info: &RedisConnectionInfo,
stream: C,
config: AsyncConnectionConfig,
) -> RedisResult<(Self, impl Future<Output = ()>)>
pub async fn new_with_config<C>( connection_info: &RedisConnectionInfo, stream: C, config: AsyncConnectionConfig, ) -> RedisResult<(Self, impl Future<Output = ()>)>
Constructs a new MultiplexedConnection
out of a AsyncRead + AsyncWrite
object
, a RedisConnectionInfo
and a AsyncConnectionConfig
.
Sourcepub fn set_response_timeout(&mut self, timeout: Duration)
pub fn set_response_timeout(&mut self, timeout: Duration)
Sets the time that the multiplexer will wait for responses on operations before failing.
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 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 CacheStatistics
for current connection if caching is enabled.
Source§impl MultiplexedConnection
impl MultiplexedConnection
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 connection. If the connection 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.
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::AsyncConnectionConfig::new().set_push_sender(tx);
let mut con = client.get_multiplexed_async_connection_with_config(&config).await?;
con.subscribe(&["channel_1", "channel_2"]).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.
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::AsyncConnectionConfig::new().set_push_sender(tx);
let mut con = client.get_multiplexed_async_connection_with_config(&config).await?;
con.subscribe(&["channel_1", "channel_2"]).await?;
con.unsubscribe(&["channel_1", "channel_2"]).await?;
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 connection. If the connection 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.
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::AsyncConnectionConfig::new().set_push_sender(tx);
let mut con = client.get_multiplexed_async_connection_with_config(&config).await?;
con.subscribe(&["channel_1", "channel_2"]).await?;
con.unsubscribe(&["channel_1", "channel_2"]).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.
Trait Implementations§
Source§impl Clone for MultiplexedConnection
impl Clone for MultiplexedConnection
Source§fn clone(&self) -> MultiplexedConnection
fn clone(&self) -> MultiplexedConnection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Connect for MultiplexedConnection
Available on crate feature cluster
only.
impl Connect for MultiplexedConnection
cluster
only.Source§fn connect_with_config<'a, T>(
info: T,
config: AsyncConnectionConfig,
) -> RedisFuture<'a, Self>where
T: IntoConnectionInfo + Send + 'a,
fn connect_with_config<'a, T>(
info: T,
config: AsyncConnectionConfig,
) -> RedisFuture<'a, Self>where
T: IntoConnectionInfo + Send + 'a,
Source§impl ConnectionLike for MultiplexedConnection
impl ConnectionLike for MultiplexedConnection
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 MultiplexedConnection
impl RefUnwindSafe for MultiplexedConnection
impl Send for MultiplexedConnection
impl Sync for MultiplexedConnection
impl Unpin for MultiplexedConnection
impl UnwindSafe for MultiplexedConnection
Blanket Implementations§
Source§impl<T> AsyncCommands for T
impl<T> AsyncCommands for T
Source§fn get<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn get<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
Source§fn keys<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn keys<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn set<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn set<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn set_options<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
options: SetOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn set_options<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
options: SetOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn set_multiple<'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 set_multiple<'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,
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,
Source§fn set_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
seconds: u64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn set_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
seconds: u64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn pset_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
milliseconds: u64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pset_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
milliseconds: u64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn set_nx<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn set_nx<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
Source§fn getset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn getset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn getrange<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
from: isize,
to: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn getrange<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
from: isize,
to: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn setrange<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
offset: isize,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn setrange<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
offset: isize,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
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,
Source§fn key_type<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn key_type<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn expire<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
seconds: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn expire<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
seconds: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn expire_at<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ts: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn expire_at<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ts: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn pexpire<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ms: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pexpire<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ms: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn pexpire_at<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ts: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pexpire_at<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
ts: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn expire_time<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn expire_time<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
ExistsButNotRelevant
if key exists but has no expiration time.
Redis DocsSource§fn pexpire_time<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pexpire_time<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
ExistsButNotRelevant
if key exists but has no expiration time.
Redis DocsSource§fn persist<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn persist<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn ttl<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn ttl<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
ExistsButNotRelevant
if key exists but has no expiration time.
Redis DocsSource§fn pttl<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn pttl<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
ExistsButNotRelevant
if key exists but has no expiration time.
Redis DocsSource§fn get_ex<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
expire_at: Expiry,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn get_ex<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
expire_at: Expiry,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn get_del<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn get_del<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn copy<'a, KSrc: ToRedisArgs + Send + Sync + 'a, KDst: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, KDst: ToRedisArgs + 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,
Source§fn rename<'a, K: ToRedisArgs + Send + Sync + 'a, N: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
new_key: N,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn rename<'a, K: ToRedisArgs + Send + Sync + 'a, N: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
new_key: N,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn rename_nx<'a, K: ToRedisArgs + Send + Sync + 'a, N: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
new_key: N,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn rename_nx<'a, K: ToRedisArgs + Send + Sync + 'a, N: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
new_key: N,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
DEL
.
Returns number of keys unlinked.
Redis DocsSource§fn append<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn append<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn incr<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
delta: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn incr<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
delta: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
delta: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn decr<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
delta: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn setbit<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
offset: usize,
value: bool,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn setbit<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
offset: usize,
value: bool,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn getbit<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
offset: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn getbit<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
offset: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn bitcount<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bitcount<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn bitcount_range<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: usize,
end: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bitcount_range<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: usize,
end: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn bit_and<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn bit_or<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn bit_xor<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn bit_not<'a, D: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckey: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn bit_not<'a, D: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckey: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn strlen<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn strlen<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hget<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hget<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hget_ex<'a, K: ToRedisArgs + 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: ToRedisArgs + 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,
Source§fn hdel<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hget_del<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hset<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hset<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hset_ex<'a, K: ToRedisArgs + 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: ToRedisArgs + 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,
Source§fn hset_nx<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hset_nx<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hset_multiple<'a, K: ToRedisArgs + 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: ToRedisArgs + 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,
Source§fn hincr<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
delta: D,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hincr<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
delta: D,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hexists<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hexists<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn httl<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hpttl<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hexpire<'a, K: ToRedisArgs + 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: ToRedisArgs + 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,
Source§fn hexpire_at<'a, K: ToRedisArgs + 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: ToRedisArgs + 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,
Source§fn hexpire_time<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hpersist<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hpexpire<'a, K: ToRedisArgs + 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: ToRedisArgs + 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,
Source§fn hpexpire_at<'a, K: ToRedisArgs + 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: ToRedisArgs + 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,
Source§fn hpexpire_time<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hkeys<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hkeys<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hvals<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hvals<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hgetall<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hgetall<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn hlen<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn hlen<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn blmove<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + 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,
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,
count
elements from the first non-empty list key from the list of
provided key names; or blocks until one is available.
Redis Docs.arg(timeout).arg(numkeys).arg(key).arg(dir).arg(“COUNT)Source§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,
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,
Source§fn brpoplpush<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn brpoplpush<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
timeout: f64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn lindex<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
index: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lindex<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
index: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn linsert_before<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn linsert_before<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn linsert_after<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn linsert_after<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn llen<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn llen<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn lmove<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
src_dir: Direction,
dst_dir: Direction,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
count
elements from the first non-empty list key from the list of
provided key names.
Redis Docs.arg(numkeys).arg(key).arg(dir).arg(“COUNT)Source§fn lpop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lpop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
count
first elements of the list stored at key. Read moreSource§fn lpos<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
options: LposOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lpos<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
options: LposOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn lpush<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn lpush_exists<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn lrange<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lrange<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn lrem<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lrem<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn ltrim<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn ltrim<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn lset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
index: isize,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn lset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
index: isize,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
Source§fn ping_message<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
message: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn ping_message<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
message: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn rpop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn rpop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
count
last elements of the list stored at key Read moreSource§fn rpoplpush<'a, K: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
dstkey: D,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn rpoplpush<'a, K: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
dstkey: D,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn rpush<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn rpush_exists<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn sadd<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn scard<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn scard<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
Source§fn sdiffstore<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
Source§fn sinterstore<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn sismember<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn sismember<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn smismember<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn smembers<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn smembers<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn smove<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn smove<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
srckey: S,
dstkey: D,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn spop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn spop<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn srandmember<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn srandmember<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn srandmember_multiple<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn srandmember_multiple<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: usize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn srem<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
Source§fn sunionstore<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zadd<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
score: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zadd<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
score: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zadd_multiple<'a, K: ToRedisArgs + 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: ToRedisArgs + 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,
Source§fn zadd_options<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
score: S,
options: &'a SortedSetAddOptions,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zadd_multiple_options<'a, K: ToRedisArgs + 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: ToRedisArgs + 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,
Source§fn zcard<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zcard<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zcount<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zcount<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zincr<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
delta: D,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zincr<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
delta: D,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zinterstore<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zinterstore_min<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zinterstore_max<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zinterstore_weights<'a, D: ToRedisArgs + 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: ToRedisArgs + 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,
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: ToRedisArgs + 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: ToRedisArgs + 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,
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: ToRedisArgs + 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: ToRedisArgs + 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,
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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zlexcount<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
Source§fn zpopmax<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zpopmax<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
Source§fn zpopmin<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zpopmin<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
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,
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,
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,
Source§fn zrandmember<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: Option<isize>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrandmember<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: Option<isize>,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
count == None
)
Redis DocsSource§fn zrandmember_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrandmember_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrange<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrange<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrange_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrange_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrangebylex<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrangebylex<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrangebylex_limit<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrevrangebylex<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrangebylex<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrevrangebylex_limit<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrangebyscore<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrangebyscore<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrangebyscore_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrangebyscore_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrangebyscore_limit<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrangebyscore_limit_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrank<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrank<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrem<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrembylex<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrembylex<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zremrangebyrank<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zremrangebyrank<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrembyscore<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrembyscore<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrevrange<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrange<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrevrange_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrange_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrevrangebyscore<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrangebyscore<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrevrangebyscore_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrangebyscore_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrevrangebyscore_limit<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrevrangebyscore_limit_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zrevrank<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zrevrank<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zscore<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn zscore<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zscore_multiple<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
members: &'a [M],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zunionstore<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zunionstore_min<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zunionstore_max<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn zunionstore_weights<'a, D: ToRedisArgs + 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: ToRedisArgs + 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,
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: ToRedisArgs + 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: ToRedisArgs + 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,
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: ToRedisArgs + 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: ToRedisArgs + 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,
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 pfadd<'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 pfadd<'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,
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,
Source§fn pfmerge<'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn publish<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
channel: K,
message: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn publish<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
channel: K,
message: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn spublish<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
channel: K,
message: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn spublish<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
channel: K,
message: E,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn object_encoding<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn object_encoding<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn object_idletime<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn object_idletime<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn object_freq<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn object_freq<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
Source§fn object_refcount<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn object_refcount<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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,
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,
Source§fn client_setname<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
connection_name: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn client_setname<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
connection_name: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
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: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_getuser<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl
only.Source§fn acl_setuser<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_setuser<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
acl
only.Source§fn acl_setuser_rules<'a, K: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
username: K,
rules: &'a [Rule],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_setuser_rules<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
categoryname: K,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn acl_cat_categoryname<'a, K: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M1: ToRedisArgs + Send + Sync + 'a, M2: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M1: ToRedisArgs + Send + Sync + 'a, M2: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + 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: 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,
maxlen: StreamMaxlen,
id: ID,
items: &'a [(F, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn xadd_maxlen<'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,
maxlen: StreamMaxlen,
id: ID,
items: &'a [(F, V)],
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
streams
only.Source§fn xadd_maxlen_map<'a, K: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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 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.group
s 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.id
s 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 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,
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,
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,
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,
Source§fn scan<RV: FromRedisValue>(&mut self) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn scan<RV: FromRedisValue>(&mut self) -> RedisFuture<'_, AsyncIter<'_, RV>>
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>>
Source§fn scan_match<P: ToRedisArgs, RV: FromRedisValue>(
&mut self,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn scan_match<P: ToRedisArgs, RV: FromRedisValue>( &mut self, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn hscan<K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn hscan<K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn hscan_match<K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn hscan_match<K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn sscan<K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn sscan<K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn sscan_match<K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn sscan_match<K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn zscan<K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn zscan<K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn zscan_match<K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn zscan_match<K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§impl<T> AsyncTypedCommands for T
impl<T> AsyncTypedCommands for T
Source§fn get<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<String>>
fn get<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<String>>
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>>>
Source§fn keys<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Vec<String>>
fn keys<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Vec<String>>
Source§fn set<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, ()>
fn set<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, ()>
Source§fn set_options<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
options: SetOptions,
) -> RedisFuture<'a, Option<String>>
fn set_options<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, options: SetOptions, ) -> RedisFuture<'a, Option<String>>
Source§fn set_multiple<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
items: &'a [(K, V)],
) -> RedisFuture<'a, ()>
fn set_multiple<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, items: &'a [(K, V)], ) -> RedisFuture<'a, ()>
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, ()>
Source§fn set_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
seconds: u64,
) -> RedisFuture<'a, ()>
fn set_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, seconds: u64, ) -> RedisFuture<'a, ()>
Source§fn pset_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
milliseconds: u64,
) -> RedisFuture<'a, ()>
fn pset_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, milliseconds: u64, ) -> RedisFuture<'a, ()>
Source§fn set_nx<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, bool>
fn set_nx<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, bool>
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>
Source§fn getset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, Option<String>>
fn getset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, Option<String>>
Source§fn getrange<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
from: isize,
to: isize,
) -> RedisFuture<'a, String>
fn getrange<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, from: isize, to: isize, ) -> RedisFuture<'a, String>
Source§fn setrange<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
offset: isize,
value: V,
) -> RedisFuture<'a, usize>
fn setrange<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, offset: isize, value: V, ) -> RedisFuture<'a, usize>
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>
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>
Source§fn key_type<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, ValueType>
fn key_type<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, ValueType>
Source§fn expire<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
seconds: i64,
) -> RedisFuture<'a, bool>
fn expire<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, seconds: i64, ) -> RedisFuture<'a, bool>
Source§fn expire_at<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
ts: i64,
) -> RedisFuture<'a, bool>
fn expire_at<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ts: i64, ) -> RedisFuture<'a, bool>
Source§fn pexpire<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
ms: i64,
) -> RedisFuture<'a, bool>
fn pexpire<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ms: i64, ) -> RedisFuture<'a, bool>
Source§fn pexpire_at<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
ts: i64,
) -> RedisFuture<'a, bool>
fn pexpire_at<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ts: i64, ) -> RedisFuture<'a, bool>
Source§fn expire_time<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, IntegerReplyOrNoOp>
fn expire_time<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, IntegerReplyOrNoOp>
ExistsButNotRelevant
if key exists but has no expiration time.
Redis DocsSource§fn pexpire_time<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, IntegerReplyOrNoOp>
fn pexpire_time<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, IntegerReplyOrNoOp>
ExistsButNotRelevant
if key exists but has no expiration time.
Redis DocsSource§fn persist<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, bool>
fn persist<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, bool>
Source§fn ttl<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, IntegerReplyOrNoOp>
fn ttl<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, IntegerReplyOrNoOp>
ExistsButNotRelevant
if key exists but has no expiration time.
Redis DocsSource§fn pttl<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, IntegerReplyOrNoOp>
fn pttl<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, IntegerReplyOrNoOp>
ExistsButNotRelevant
if key exists but has no expiration time.
Redis DocsSource§fn get_ex<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
expire_at: Expiry,
) -> RedisFuture<'a, Option<String>>
fn get_ex<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, expire_at: Expiry, ) -> RedisFuture<'a, Option<String>>
Source§fn get_del<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<String>>
fn get_del<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<String>>
Source§fn copy<'a, KSrc: ToRedisArgs + Send + Sync + 'a, KDst: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, KDst: ToRedisArgs + Send + Sync + 'a, Db: ToString + Send + Sync + 'a>( &'a mut self, source: KSrc, destination: KDst, options: CopyOptions<Db>, ) -> RedisFuture<'a, bool>
Source§fn rename<'a, K: ToRedisArgs + Send + Sync + 'a, N: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
new_key: N,
) -> RedisFuture<'a, ()>
fn rename<'a, K: ToRedisArgs + Send + Sync + 'a, N: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, new_key: N, ) -> RedisFuture<'a, ()>
Source§fn rename_nx<'a, K: ToRedisArgs + Send + Sync + 'a, N: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
new_key: N,
) -> RedisFuture<'a, bool>
fn rename_nx<'a, K: ToRedisArgs + Send + Sync + 'a, N: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, new_key: N, ) -> RedisFuture<'a, bool>
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>
DEL
.
Returns number of keys unlinked.
Redis DocsSource§fn append<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, usize>
fn append<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, usize>
Source§fn incr<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
delta: V,
) -> RedisFuture<'a, isize>
fn incr<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, delta: V, ) -> RedisFuture<'a, isize>
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: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
delta: V,
) -> RedisFuture<'a, isize>
fn decr<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, delta: V, ) -> RedisFuture<'a, isize>
Source§fn setbit<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
offset: usize,
value: bool,
) -> RedisFuture<'a, bool>
fn setbit<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, offset: usize, value: bool, ) -> RedisFuture<'a, bool>
Source§fn getbit<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
offset: usize,
) -> RedisFuture<'a, bool>
fn getbit<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, offset: usize, ) -> RedisFuture<'a, bool>
Source§fn bitcount<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn bitcount<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
Source§fn bitcount_range<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
start: usize,
end: usize,
) -> RedisFuture<'a, usize>
fn bitcount_range<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, start: usize, end: usize, ) -> RedisFuture<'a, usize>
Source§fn bit_and<'a, D: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, usize>
fn bit_and<'a, D: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisFuture<'a, usize>
Source§fn bit_or<'a, D: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, usize>
fn bit_or<'a, D: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisFuture<'a, usize>
Source§fn bit_xor<'a, D: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, usize>
fn bit_xor<'a, D: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisFuture<'a, usize>
Source§fn bit_not<'a, D: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckey: S,
) -> RedisFuture<'a, usize>
fn bit_not<'a, D: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckey: S, ) -> RedisFuture<'a, usize>
Source§fn strlen<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn strlen<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
Source§fn hget<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, Option<String>>
fn hget<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, field: F, ) -> RedisFuture<'a, Option<String>>
Source§fn hget_ex<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, expire_at: Expiry, ) -> RedisFuture<'a, Vec<String>>
Source§fn hdel<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, usize>
fn hdel<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, field: F, ) -> RedisFuture<'a, usize>
Source§fn hget_del<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<Option<String>>>
Source§fn hset<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisFuture<'a, usize>
fn hset<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, field: F, value: V, ) -> RedisFuture<'a, usize>
Source§fn hset_ex<'a, K: ToRedisArgs + 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: ToRedisArgs + 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>
Source§fn hset_nx<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisFuture<'a, bool>
fn hset_nx<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, field: F, value: V, ) -> RedisFuture<'a, bool>
Source§fn hset_multiple<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, items: &'a [(F, V)], ) -> RedisFuture<'a, ()>
Source§fn hincr<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
delta: D,
) -> RedisFuture<'a, f64>
fn hincr<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, field: F, delta: D, ) -> RedisFuture<'a, f64>
Source§fn hexists<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
) -> RedisFuture<'a, bool>
fn hexists<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, field: F, ) -> RedisFuture<'a, bool>
Source§fn httl<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn httl<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
Source§fn hpttl<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn hpttl<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
Source§fn hexpire<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, seconds: i64, opt: ExpireOption, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
Source§fn hexpire_at<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ts: i64, opt: ExpireOption, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
Source§fn hexpire_time<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn hexpire_time<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
Source§fn hpersist<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn hpersist<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
Source§fn hpexpire<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, milliseconds: i64, opt: ExpireOption, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
Source§fn hpexpire_at<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ts: i64, opt: ExpireOption, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
Source§fn hpexpire_time<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
fn hpexpire_time<'a, K: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisFuture<'a, Vec<IntegerReplyOrNoOp>>
Source§fn hkeys<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Vec<String>>
fn hkeys<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Vec<String>>
Source§fn hvals<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Vec<String>>
fn hvals<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Vec<String>>
Source§fn hgetall<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, HashMap<String, String>>
fn hgetall<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, HashMap<String, String>>
Source§fn hlen<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn hlen<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
Source§fn blmove<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a>( &'a mut self, srckey: S, dstkey: D, src_dir: Direction, dst_dir: Direction, timeout: f64, ) -> RedisFuture<'a, Option<String>>
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]>>
count
elements from the first non-empty list key from the list of
provided key names; or blocks until one is available.
Redis Docs.arg(timeout).arg(numkeys).arg(key).arg(dir).arg(“COUNT)Source§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]>>
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]>>
Source§fn brpoplpush<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
srckey: S,
dstkey: D,
timeout: f64,
) -> RedisFuture<'a, Option<String>>
fn brpoplpush<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a>( &'a mut self, srckey: S, dstkey: D, timeout: f64, ) -> RedisFuture<'a, Option<String>>
Source§fn lindex<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
index: isize,
) -> RedisFuture<'a, Option<String>>
fn lindex<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, index: isize, ) -> RedisFuture<'a, Option<String>>
Source§fn linsert_before<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisFuture<'a, isize>
fn linsert_before<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, pivot: P, value: V, ) -> RedisFuture<'a, isize>
Source§fn linsert_after<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisFuture<'a, isize>
fn linsert_after<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, pivot: P, value: V, ) -> RedisFuture<'a, isize>
Source§fn llen<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn llen<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
Source§fn lmove<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
srckey: S,
dstkey: D,
src_dir: Direction,
dst_dir: Direction,
) -> RedisFuture<'a, String>
fn lmove<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a>( &'a mut self, srckey: S, dstkey: D, src_dir: Direction, dst_dir: Direction, ) -> RedisFuture<'a, String>
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>)>>
count
elements from the first non-empty list key from the list of
provided key names.
Redis Docs.arg(numkeys).arg(key).arg(dir).arg(“COUNT)Source§fn lpop<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisFuture<'a, RV>
fn lpop<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, count: Option<NonZeroUsize>, ) -> RedisFuture<'a, RV>
count
first elements of the list stored at key. Read moreSource§fn lpos<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
options: LposOptions,
) -> RedisFuture<'a, RV>
fn lpos<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, options: LposOptions, ) -> RedisFuture<'a, RV>
Source§fn lpush<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, usize>
fn lpush<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, usize>
Source§fn lpush_exists<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, usize>
fn lpush_exists<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, usize>
Source§fn lrange<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, Vec<String>>
fn lrange<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, Vec<String>>
Source§fn lrem<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
value: V,
) -> RedisFuture<'a, usize>
fn lrem<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, count: isize, value: V, ) -> RedisFuture<'a, usize>
Source§fn ltrim<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, ()>
fn ltrim<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, ()>
Source§fn lset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
index: isize,
value: V,
) -> RedisFuture<'a, ()>
fn lset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, index: isize, value: V, ) -> RedisFuture<'a, ()>
Source§fn ping<'a>(&'a mut self) -> RedisFuture<'a, String>
fn ping<'a>(&'a mut self) -> RedisFuture<'a, String>
Source§fn ping_message<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
message: K,
) -> RedisFuture<'a, String>
fn ping_message<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, message: K, ) -> RedisFuture<'a, String>
Source§fn rpop<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisFuture<'a, RV>
fn rpop<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, count: Option<NonZeroUsize>, ) -> RedisFuture<'a, RV>
count
last elements of the list stored at key Read moreSource§fn rpoplpush<'a, K: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
dstkey: D,
) -> RedisFuture<'a, Option<String>>
fn rpoplpush<'a, K: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, dstkey: D, ) -> RedisFuture<'a, Option<String>>
Source§fn rpush<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, usize>
fn rpush<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, usize>
Source§fn rpush_exists<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisFuture<'a, usize>
fn rpush_exists<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisFuture<'a, usize>
Source§fn sadd<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, usize>
fn sadd<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisFuture<'a, usize>
Source§fn scard<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn scard<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
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>>
Source§fn sdiffstore<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn sdiffstore<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
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>>
Source§fn sinterstore<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn sinterstore<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
Source§fn sismember<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, bool>
fn sismember<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisFuture<'a, bool>
Source§fn smismember<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, Vec<bool>>
fn smismember<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: M, ) -> RedisFuture<'a, Vec<bool>>
Source§fn smembers<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, HashSet<String>>
fn smembers<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, HashSet<String>>
Source§fn smove<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
srckey: S,
dstkey: D,
member: M,
) -> RedisFuture<'a, bool>
fn smove<'a, S: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, srckey: S, dstkey: D, member: M, ) -> RedisFuture<'a, bool>
Source§fn spop<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, RV>
fn spop<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, RV>
Source§fn srandmember<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<String>>
fn srandmember<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<String>>
Source§fn srandmember_multiple<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
count: usize,
) -> RedisFuture<'a, Vec<String>>
fn srandmember_multiple<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, count: usize, ) -> RedisFuture<'a, Vec<String>>
Source§fn srem<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, usize>
fn srem<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisFuture<'a, usize>
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>>
Source§fn sunionstore<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn sunionstore<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
Source§fn zadd<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
score: S,
) -> RedisFuture<'a, usize>
fn zadd<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, score: S, ) -> RedisFuture<'a, usize>
Source§fn zadd_multiple<'a, K: ToRedisArgs + 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: ToRedisArgs + 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>
Source§fn zadd_options<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
score: S,
options: &'a SortedSetAddOptions,
) -> RedisFuture<'a, usize>
fn zadd_options<'a, K: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, score: S, options: &'a SortedSetAddOptions, ) -> RedisFuture<'a, usize>
Source§fn zadd_multiple_options<'a, K: ToRedisArgs + 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: ToRedisArgs + 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>
Source§fn zcard<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, usize>
fn zcard<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, usize>
Source§fn zcount<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, usize>
fn zcount<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, usize>
Source§fn zincr<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
delta: D,
) -> RedisFuture<'a, f64>
fn zincr<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, D: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, delta: D, ) -> RedisFuture<'a, f64>
Source§fn zinterstore<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn zinterstore<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
Source§fn zinterstore_min<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn zinterstore_min<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
Source§fn zinterstore_max<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn zinterstore_max<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
Source§fn zinterstore_weights<'a, D: ToRedisArgs + 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: ToRedisArgs + 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>
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: ToRedisArgs + 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: ToRedisArgs + 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>
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: ToRedisArgs + 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: ToRedisArgs + 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>
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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, usize>
fn zlexcount<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, usize>
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)>>
Source§fn zpopmax<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, Vec<String>>
fn zpopmax<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, count: isize, ) -> RedisFuture<'a, Vec<String>>
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)>>
Source§fn zpopmin<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, Vec<String>>
fn zpopmin<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, count: isize, ) -> RedisFuture<'a, Vec<String>>
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)>)>>
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)>)>>
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)>)>>
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)>)>>
Source§fn zrandmember<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
count: Option<isize>,
) -> RedisFuture<'a, RV>
fn zrandmember<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, count: Option<isize>, ) -> RedisFuture<'a, RV>
count == None
)
Redis DocsSource§fn zrandmember_withscores<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
) -> RedisFuture<'a, RV>
fn zrandmember_withscores<'a, RV: FromRedisValue, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, count: isize, ) -> RedisFuture<'a, RV>
Source§fn zrange<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, Vec<String>>
fn zrange<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrange_withscores<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, Vec<(String, f64)>>
fn zrange_withscores<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, Vec<(String, f64)>>
Source§fn zrangebylex<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, Vec<String>>
fn zrangebylex<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrangebylex_limit<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, offset: isize, count: isize, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrevrangebylex<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, Vec<String>>
fn zrevrangebylex<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrevrangebylex_limit<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, offset: isize, count: isize, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrangebyscore<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, Vec<String>>
fn zrangebyscore<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrangebyscore_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, Vec<(String, usize)>>
fn zrangebyscore_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, Vec<(String, usize)>>
Source§fn zrangebyscore_limit<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, offset: isize, count: isize, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrangebyscore_limit_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, offset: isize, count: isize, ) -> RedisFuture<'a, Vec<(String, usize)>>
Source§fn zrank<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, Option<usize>>
fn zrank<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisFuture<'a, Option<usize>>
Source§fn zrem<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, usize>
fn zrem<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: M, ) -> RedisFuture<'a, usize>
Source§fn zrembylex<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, usize>
fn zrembylex<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, usize>
Source§fn zremrangebyrank<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, usize>
fn zremrangebyrank<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, usize>
Source§fn zrembyscore<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisFuture<'a, usize>
fn zrembyscore<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisFuture<'a, usize>
Source§fn zrevrange<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, Vec<String>>
fn zrevrange<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrevrange_withscores<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisFuture<'a, Vec<String>>
fn zrevrange_withscores<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrevrangebyscore<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, Vec<String>>
fn zrevrangebyscore<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrevrangebyscore_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisFuture<'a, Vec<String>>
fn zrevrangebyscore_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrevrangebyscore_limit<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, offset: isize, count: isize, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrevrangebyscore_limit_withscores<'a, K: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, MM: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, offset: isize, count: isize, ) -> RedisFuture<'a, Vec<String>>
Source§fn zrevrank<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, Option<usize>>
fn zrevrank<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisFuture<'a, Option<usize>>
Source§fn zscore<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisFuture<'a, Option<f64>>
fn zscore<'a, K: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisFuture<'a, Option<f64>>
Source§fn zscore_multiple<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: &'a [M], ) -> RedisFuture<'a, Option<Vec<f64>>>
Source§fn zunionstore<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn zunionstore<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
Source§fn zunionstore_min<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn zunionstore_min<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
Source§fn zunionstore_max<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisFuture<'a, usize>
fn zunionstore_max<'a, D: ToRedisArgs + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisFuture<'a, usize>
Source§fn zunionstore_weights<'a, D: ToRedisArgs + 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: ToRedisArgs + 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>
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: ToRedisArgs + 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: ToRedisArgs + 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>
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: ToRedisArgs + 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: ToRedisArgs + 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>
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 pfadd<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
element: E,
) -> RedisFuture<'a, bool>
fn pfadd<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, element: E, ) -> RedisFuture<'a, bool>
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>
Source§fn pfmerge<'a, D: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisFuture<'a, ()>
fn pfmerge<'a, D: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisFuture<'a, ()>
Source§fn publish<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
channel: K,
message: E,
) -> RedisFuture<'a, usize>
fn publish<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, channel: K, message: E, ) -> RedisFuture<'a, usize>
Source§fn spublish<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
channel: K,
message: E,
) -> RedisFuture<'a, usize>
fn spublish<'a, K: ToRedisArgs + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, channel: K, message: E, ) -> RedisFuture<'a, usize>
Source§fn object_encoding<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<String>>
fn object_encoding<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<String>>
Source§fn object_idletime<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<usize>>
fn object_idletime<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<usize>>
Source§fn object_freq<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<usize>>
fn object_freq<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<usize>>
Source§fn object_refcount<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<usize>>
fn object_refcount<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<usize>>
Source§fn client_getname<'a>(&'a mut self) -> RedisFuture<'a, Option<String>>
fn client_getname<'a>(&'a mut self) -> RedisFuture<'a, Option<String>>
Source§fn client_id<'a>(&'a mut self) -> RedisFuture<'a, isize>
fn client_id<'a>(&'a mut self) -> RedisFuture<'a, isize>
Source§fn client_setname<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
connection_name: K,
) -> RedisFuture<'a, ()>
fn client_setname<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, connection_name: K, ) -> RedisFuture<'a, ()>
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: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
username: K,
) -> RedisFuture<'a, Option<AclInfo>>
fn acl_getuser<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, username: K, ) -> RedisFuture<'a, Option<AclInfo>>
acl
only.Source§fn acl_setuser<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
username: K,
) -> RedisFuture<'a, ()>
fn acl_setuser<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, username: K, ) -> RedisFuture<'a, ()>
acl
only.Source§fn acl_setuser_rules<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
username: K,
rules: &'a [Rule],
) -> RedisFuture<'a, ()>
fn acl_setuser_rules<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
categoryname: K,
) -> RedisFuture<'a, HashSet<String>>
fn acl_cat_categoryname<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, usize>
fn geo_add<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M1: ToRedisArgs + Send + Sync + 'a, M2: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member1: M1,
member2: M2,
unit: Unit,
) -> RedisFuture<'a, Option<f64>>
fn geo_dist<'a, K: ToRedisArgs + Send + Sync + 'a, M1: ToRedisArgs + Send + Sync + 'a, M2: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisFuture<'a, Vec<String>>
fn geo_hash<'a, K: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
ids: &'a [ID],
) -> RedisFuture<'a, usize>
fn xdel<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ids: &'a [ID], ) -> RedisFuture<'a, usize>
streams
only.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.group
s 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.id
s 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 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, ()>
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, ()>
Source§fn flushdb<'a>(&'a mut self) -> RedisFuture<'a, ()>
fn flushdb<'a>(&'a mut self) -> RedisFuture<'a, ()>
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, ()>
Source§fn scan<RV: FromRedisValue>(&mut self) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn scan<RV: FromRedisValue>(&mut self) -> RedisFuture<'_, AsyncIter<'_, RV>>
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>>
Source§fn scan_match<P: ToRedisArgs, RV: FromRedisValue>(
&mut self,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn scan_match<P: ToRedisArgs, RV: FromRedisValue>( &mut self, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn hscan<K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn hscan<K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn hscan_match<K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn hscan_match<K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn sscan<K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn sscan<K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn sscan_match<K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn sscan_match<K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn zscan<K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn zscan<K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn zscan_match<K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisFuture<'_, AsyncIter<'_, RV>>
fn zscan_match<K: ToRedisArgs, P: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisFuture<'_, AsyncIter<'_, RV>>
Source§fn get_int<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisFuture<'a, Option<isize>>
fn get_int<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisFuture<'a, Option<isize>>
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>>>
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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
only.value
to the array at path
after the last element in it.Source§fn json_arr_index<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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
only.path
, returns first occurrence of value
Source§fn json_arr_index_ss<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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
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: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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
only.Source§fn json_arr_len<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_arr_len<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.path
in key
.Source§fn json_arr_pop<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
index: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.index
in the array. Read moreSource§fn json_arr_trim<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
start: i64,
stop: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.Source§fn json_clear<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_clear<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.Source§fn json_del<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_del<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.path
.Source§fn json_get<'a, K: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.path
. Read moreSource§fn json_num_incr_by<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: i64,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.path
by number
.Source§fn json_obj_keys<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_obj_keys<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.path
.Source§fn json_obj_len<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_obj_len<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.path
in key
.Source§fn json_set<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + 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
only.path
in key
.Source§fn json_str_append<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + 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: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
value: V,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.json-string
values to the string at path
.Source§fn json_str_len<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_str_len<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.path
in key
.Source§fn json_toggle<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_toggle<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.boolean
value stored at path
.Source§fn json_type<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
fn json_type<'a, K: ToRedisArgs + Send + Sync + 'a, P: ToRedisArgs + Send + Sync + 'a, RV>(
&'a mut self,
key: K,
path: P,
) -> RedisFuture<'a, RV>where
RV: FromRedisValue,
json
only.path
.