pub struct Connection { /* private fields */ }Expand description
Represents a stateful redis TCP connection.
Implementations§
Source§impl Connection
A connection is an object that represents a single redis connection. It
provides basic support for sending encoded commands into a redis connection
and to read a response from it. It’s bound to a single database and can
only be created from the client.
impl Connection
A connection is an object that represents a single redis connection. It provides basic support for sending encoded commands into a redis connection and to read a response from it. It’s bound to a single database and can only be created from the client.
You generally do not much with this object other than passing it to
Cmd objects.
Sourcepub fn send_packed_command(&mut self, cmd: &[u8]) -> RedisResult<()>
pub fn send_packed_command(&mut self, cmd: &[u8]) -> RedisResult<()>
Sends an already encoded (packed) command into the TCP socket and
does not read a response. This is useful for commands like
MONITOR which yield multiple items. This needs to be used with
care because it changes the state of the connection.
Sourcepub fn recv_response(&mut self) -> RedisResult<Value>
pub fn recv_response(&mut self) -> RedisResult<Value>
Fetches a single response from the connection. This is useful
if used in combination with send_packed_command.
Sourcepub fn set_write_timeout(&self, dur: Option<Duration>) -> RedisResult<()>
pub fn set_write_timeout(&self, dur: Option<Duration>) -> RedisResult<()>
Sets the write timeout for the connection.
If the provided value is None, then send_packed_command call will
block indefinitely. It is an error to pass the zero Duration to this
method.
Sourcepub fn set_read_timeout(&self, dur: Option<Duration>) -> RedisResult<()>
pub fn set_read_timeout(&self, dur: Option<Duration>) -> RedisResult<()>
Sets the read timeout for the connection.
If the provided value is None, then recv_response call will
block indefinitely. It is an error to pass the zero Duration to this
method.
Sourcepub fn set_push_sender(&mut self, sender: Sender<PushInfo>)
pub fn set_push_sender(&mut self, sender: Sender<PushInfo>)
Sets sender channel for push values.
Sourcepub fn subscribe_resp3<T: ToRedisArgs>(&mut self, channel: T) -> RedisResult<()>
pub fn subscribe_resp3<T: ToRedisArgs>(&mut self, channel: T) -> RedisResult<()>
Subscribes to a new channel(s).
This only works if the connection was configured with ProtocolVersion::RESP3 and Self::set_push_sender.
Sourcepub fn psubscribe_resp3<T: ToRedisArgs>(
&mut self,
pchannel: T,
) -> RedisResult<()>
pub fn psubscribe_resp3<T: ToRedisArgs>( &mut self, pchannel: T, ) -> RedisResult<()>
Subscribes to new channel(s) with pattern(s).
This only works if the connection was configured with ProtocolVersion::RESP3 and Self::set_push_sender.
Sourcepub fn unsubscribe_resp3<T: ToRedisArgs>(
&mut self,
channel: T,
) -> RedisResult<()>
pub fn unsubscribe_resp3<T: ToRedisArgs>( &mut self, channel: T, ) -> RedisResult<()>
Unsubscribes from a channel(s).
This only works if the connection was configured with ProtocolVersion::RESP3 and Self::set_push_sender.
Sourcepub fn punsubscribe_resp3<T: ToRedisArgs>(
&mut self,
pchannel: T,
) -> RedisResult<()>
pub fn punsubscribe_resp3<T: ToRedisArgs>( &mut self, pchannel: T, ) -> RedisResult<()>
Unsubscribes from channel pattern(s).
This only works if the connection was configured with ProtocolVersion::RESP3 and Self::set_push_sender.
Trait Implementations§
Source§impl ConnectionLike for Connection
impl ConnectionLike for Connection
Source§fn req_command(&mut self, cmd: &Cmd) -> RedisResult<Value>
fn req_command(&mut self, cmd: &Cmd) -> RedisResult<Value>
Sends a Cmd into the TCP socket and reads a single response from it.
Source§fn req_packed_command(&mut self, cmd: &[u8]) -> RedisResult<Value>
fn req_packed_command(&mut self, cmd: &[u8]) -> RedisResult<Value>
Source§fn get_db(&self) -> i64
fn get_db(&self) -> i64
Source§fn check_connection(&mut self) -> bool
fn check_connection(&mut self) -> bool
PING internally).Source§impl PubSubCommands for Connection
impl PubSubCommands for Connection
Source§fn subscribe<C, F, U>(&mut self, channels: C, func: F) -> RedisResult<U>
fn subscribe<C, F, U>(&mut self, channels: C, func: F) -> RedisResult<U>
Source§fn psubscribe<P, F, U>(&mut self, patterns: P, func: F) -> RedisResult<U>
fn psubscribe<P, F, U>(&mut self, patterns: P, func: F) -> RedisResult<U>
Auto Trait Implementations§
impl Freeze for Connection
impl !RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnsafeUnpin for Connection
impl !UnwindSafe for Connection
Blanket Implementations§
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> Commands for Twhere
T: ConnectionLike,
impl<T> Commands for Twhere
T: ConnectionLike,
Source§fn get<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn get<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
MGET (if using TypedCommands, you should specifically use mget to get the correct return type.
Redis DocsSource§fn mget<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn mget<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn keys<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn keys<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn set<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
value: V,
) -> RedisResult<RV>
fn set<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, value: V, ) -> RedisResult<RV>
Source§fn set_options<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
value: V,
options: SetOptions,
) -> RedisResult<RV>
fn set_options<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, value: V, options: SetOptions, ) -> RedisResult<RV>
Source§fn mset<'a, K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>(
&mut self,
items: &'a [(K, V)],
) -> RedisResult<RV>
fn mset<'a, K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>( &mut self, items: &'a [(K, V)], ) -> RedisResult<RV>
Source§fn set_ex<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
value: V,
seconds: u64,
) -> RedisResult<RV>
fn set_ex<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, value: V, seconds: u64, ) -> RedisResult<RV>
Source§fn pset_ex<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
value: V,
milliseconds: u64,
) -> RedisResult<RV>
fn pset_ex<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, value: V, milliseconds: u64, ) -> RedisResult<RV>
Source§fn set_nx<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
value: V,
) -> RedisResult<RV>
fn set_nx<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, value: V, ) -> RedisResult<RV>
Source§fn mset_nx<'a, K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>(
&mut self,
items: &'a [(K, V)],
) -> RedisResult<RV>
fn mset_nx<'a, K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>( &mut self, items: &'a [(K, V)], ) -> RedisResult<RV>
Source§fn mset_ex<'a, K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>(
&mut self,
items: &'a [(K, V)],
options: MSetOptions,
) -> RedisResult<RV>
fn mset_ex<'a, K: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>( &mut self, items: &'a [(K, V)], options: MSetOptions, ) -> RedisResult<RV>
Source§fn getset<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
value: V,
) -> RedisResult<RV>
fn getset<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, value: V, ) -> RedisResult<RV>
Source§fn getrange<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
from: isize,
to: isize,
) -> RedisResult<RV>
fn getrange<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, from: isize, to: isize, ) -> RedisResult<RV>
Source§fn setrange<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
offset: isize,
value: V,
) -> RedisResult<RV>
fn setrange<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, offset: isize, value: V, ) -> RedisResult<RV>
Source§fn del<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn del<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn del_ex<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
value_comparison: ValueComparison,
) -> RedisResult<RV>
fn del_ex<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, value_comparison: ValueComparison, ) -> RedisResult<RV>
match-value - Delete the key only if its value is equal to match-value
IFNE match-value - Delete the key only if its value is not equal to match-value
IFDEQ match-digest - Delete the key only if the digest of its value is equal to match-digest
IFDNE match-digest - Delete the key only if the digest of its value is not equal to match-digest
Redis DocsSource§fn digest<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn digest<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn exists<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn exists<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn key_type<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn key_type<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn expire<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
seconds: i64,
) -> RedisResult<RV>
fn expire<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, seconds: i64, ) -> RedisResult<RV>
Source§fn expire_at<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
ts: i64,
) -> RedisResult<RV>
fn expire_at<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ts: i64, ) -> RedisResult<RV>
Source§fn pexpire<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
ms: i64,
) -> RedisResult<RV>
fn pexpire<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ms: i64, ) -> RedisResult<RV>
Source§fn pexpire_at<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
ts: i64,
) -> RedisResult<RV>
fn pexpire_at<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ts: i64, ) -> RedisResult<RV>
Source§fn expire_time<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn expire_time<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn pexpire_time<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn pexpire_time<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn persist<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn persist<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn ttl<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn ttl<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn pttl<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn pttl<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn get_ex<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
expire_at: Expiry,
) -> RedisResult<RV>
fn get_ex<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, expire_at: Expiry, ) -> RedisResult<RV>
Source§fn get_del<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn get_del<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn copy<'a, KSrc: ToSingleRedisArg, KDst: ToSingleRedisArg, Db: ToString, RV: FromRedisValue>(
&mut self,
source: KSrc,
destination: KDst,
options: CopyOptions<Db>,
) -> RedisResult<RV>
fn copy<'a, KSrc: ToSingleRedisArg, KDst: ToSingleRedisArg, Db: ToString, RV: FromRedisValue>( &mut self, source: KSrc, destination: KDst, options: CopyOptions<Db>, ) -> RedisResult<RV>
Source§fn rename<'a, K: ToSingleRedisArg, N: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
new_key: N,
) -> RedisResult<RV>
fn rename<'a, K: ToSingleRedisArg, N: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, new_key: N, ) -> RedisResult<RV>
Source§fn rename_nx<'a, K: ToSingleRedisArg, N: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
new_key: N,
) -> RedisResult<RV>
fn rename_nx<'a, K: ToSingleRedisArg, N: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, new_key: N, ) -> RedisResult<RV>
Source§fn unlink<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn unlink<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
DEL.
Returns number of keys unlinked.
Redis DocsSource§fn append<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
value: V,
) -> RedisResult<RV>
fn append<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, value: V, ) -> RedisResult<RV>
Source§fn incr<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
delta: V,
) -> RedisResult<RV>
fn incr<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, delta: V, ) -> RedisResult<RV>
INCRBY or INCRBYFLOAT depending on the type.
If the key does not exist, it is set to 0 before performing the operation.Source§fn decr<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
delta: V,
) -> RedisResult<RV>
fn decr<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, delta: V, ) -> RedisResult<RV>
Source§fn setbit<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
offset: usize,
value: bool,
) -> RedisResult<RV>
fn setbit<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, offset: usize, value: bool, ) -> RedisResult<RV>
Source§fn getbit<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
offset: usize,
) -> RedisResult<RV>
fn getbit<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, offset: usize, ) -> RedisResult<RV>
Source§fn bitcount<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn bitcount<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn bitcount_range<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
start: usize,
end: usize,
) -> RedisResult<RV>
fn bitcount_range<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, start: usize, end: usize, ) -> RedisResult<RV>
Source§fn bit_and<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<RV>
fn bit_and<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, srckeys: S, ) -> RedisResult<RV>
Source§fn bit_or<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<RV>
fn bit_or<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, srckeys: S, ) -> RedisResult<RV>
Source§fn bit_xor<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<RV>
fn bit_xor<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, srckeys: S, ) -> RedisResult<RV>
Source§fn bit_not<'a, D: ToSingleRedisArg, S: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
dstkey: D,
srckey: S,
) -> RedisResult<RV>
fn bit_not<'a, D: ToSingleRedisArg, S: ToSingleRedisArg, RV: FromRedisValue>( &mut self, dstkey: D, srckey: S, ) -> RedisResult<RV>
Source§fn bit_diff<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<RV>
fn bit_diff<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, srckeys: S, ) -> RedisResult<RV>
Perform a set difference to extract the members of X that are not members of any of Y1, Y2,….
Logical representation: X ∧ ¬(Y1 ∨ Y2 ∨ …)
Redis Docs
Source§fn bit_diff1<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<RV>
fn bit_diff1<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, srckeys: S, ) -> RedisResult<RV>
Perform a relative complement set difference to extract the members of one or more of Y1, Y2,… that are not members of X.
Logical representation: ¬X ∧ (Y1 ∨ Y2 ∨ …)
Redis Docs
Source§fn bit_and_or<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<RV>
fn bit_and_or<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, srckeys: S, ) -> RedisResult<RV>
Perform an “intersection of union(s)” operation to extract the members of X that are also members of one or more of Y1, Y2,….
Logical representation: X ∧ (Y1 ∨ Y2 ∨ …)
Redis Docs
Source§fn bit_one<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<RV>
fn bit_one<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, srckeys: S, ) -> RedisResult<RV>
Perform an “exclusive membership” operation to extract the members of exactly one of X, Y1, Y2, ….
Logical representation: (X ∨ Y1 ∨ Y2 ∨ …) ∧ ¬((X ∧ Y1) ∨ (X ∧ Y2) ∨ (Y1 ∧ Y2) ∨ (Y1 ∧ Y3) ∨ …)
Redis Docs
Source§fn strlen<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn strlen<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn hget<'a, K: ToSingleRedisArg, F: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
field: F,
) -> RedisResult<RV>
fn hget<'a, K: ToSingleRedisArg, F: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, field: F, ) -> RedisResult<RV>
Source§fn hmget<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
fields: F,
) -> RedisResult<RV>
fn hmget<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, fields: F, ) -> RedisResult<RV>
Source§fn hget_ex<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
fields: F,
expire_at: Expiry,
) -> RedisResult<RV>
fn hget_ex<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, fields: F, expire_at: Expiry, ) -> RedisResult<RV>
Source§fn hdel<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
field: F,
) -> RedisResult<RV>
fn hdel<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, field: F, ) -> RedisResult<RV>
Source§fn hget_del<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
fields: F,
) -> RedisResult<RV>
fn hget_del<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, fields: F, ) -> RedisResult<RV>
Source§fn hset<'a, K: ToSingleRedisArg, F: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
field: F,
value: V,
) -> RedisResult<RV>
fn hset<'a, K: ToSingleRedisArg, F: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, field: F, value: V, ) -> RedisResult<RV>
Source§fn hset_ex<'a, K: ToSingleRedisArg, F: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
hash_field_expiration_options: &'a HashFieldExpirationOptions,
fields_values: &'a [(F, V)],
) -> RedisResult<RV>
fn hset_ex<'a, K: ToSingleRedisArg, F: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, hash_field_expiration_options: &'a HashFieldExpirationOptions, fields_values: &'a [(F, V)], ) -> RedisResult<RV>
Source§fn hset_nx<'a, K: ToSingleRedisArg, F: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
field: F,
value: V,
) -> RedisResult<RV>
fn hset_nx<'a, K: ToSingleRedisArg, F: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, field: F, value: V, ) -> RedisResult<RV>
Source§fn hset_multiple<'a, K: ToSingleRedisArg, F: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
items: &'a [(F, V)],
) -> RedisResult<RV>
fn hset_multiple<'a, K: ToSingleRedisArg, F: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, items: &'a [(F, V)], ) -> RedisResult<RV>
Source§fn hincr<'a, K: ToSingleRedisArg, F: ToSingleRedisArg, D: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
field: F,
delta: D,
) -> RedisResult<RV>
fn hincr<'a, K: ToSingleRedisArg, F: ToSingleRedisArg, D: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, field: F, delta: D, ) -> RedisResult<RV>
Source§fn hexists<'a, K: ToSingleRedisArg, F: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
field: F,
) -> RedisResult<RV>
fn hexists<'a, K: ToSingleRedisArg, F: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, field: F, ) -> RedisResult<RV>
Source§fn httl<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
fields: F,
) -> RedisResult<RV>
fn httl<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, fields: F, ) -> RedisResult<RV>
Source§fn hpttl<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
fields: F,
) -> RedisResult<RV>
fn hpttl<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, fields: F, ) -> RedisResult<RV>
Source§fn hexpire<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
seconds: i64,
opt: ExpireOption,
fields: F,
) -> RedisResult<RV>
fn hexpire<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, seconds: i64, opt: ExpireOption, fields: F, ) -> RedisResult<RV>
Source§fn hexpire_at<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
ts: i64,
opt: ExpireOption,
fields: F,
) -> RedisResult<RV>
fn hexpire_at<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ts: i64, opt: ExpireOption, fields: F, ) -> RedisResult<RV>
Source§fn hexpire_time<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
fields: F,
) -> RedisResult<RV>
fn hexpire_time<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, fields: F, ) -> RedisResult<RV>
Source§fn hpersist<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
fields: F,
) -> RedisResult<RV>
fn hpersist<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, fields: F, ) -> RedisResult<RV>
Source§fn hpexpire<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
milliseconds: i64,
opt: ExpireOption,
fields: F,
) -> RedisResult<RV>
fn hpexpire<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, milliseconds: i64, opt: ExpireOption, fields: F, ) -> RedisResult<RV>
Source§fn hpexpire_at<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
ts: i64,
opt: ExpireOption,
fields: F,
) -> RedisResult<RV>
fn hpexpire_at<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ts: i64, opt: ExpireOption, fields: F, ) -> RedisResult<RV>
Source§fn hpexpire_time<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
fields: F,
) -> RedisResult<RV>
fn hpexpire_time<'a, K: ToSingleRedisArg, F: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, fields: F, ) -> RedisResult<RV>
Source§fn hkeys<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn hkeys<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn hvals<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn hvals<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn hgetall<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn hgetall<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn hlen<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn hlen<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn blmove<'a, S: ToSingleRedisArg, D: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
srckey: S,
dstkey: D,
src_dir: Direction,
dst_dir: Direction,
timeout: f64,
) -> RedisResult<RV>
fn blmove<'a, S: ToSingleRedisArg, D: ToSingleRedisArg, RV: FromRedisValue>( &mut self, srckey: S, dstkey: D, src_dir: Direction, dst_dir: Direction, timeout: f64, ) -> RedisResult<RV>
Source§fn blmpop<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
timeout: f64,
numkeys: usize,
key: K,
dir: Direction,
count: usize,
) -> RedisResult<RV>
fn blmpop<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, timeout: f64, numkeys: usize, key: K, dir: Direction, count: usize, ) -> RedisResult<RV>
count elements from the first non-empty list key from the list of
provided key names; or blocks until one is available.
Redis DocsSource§fn blpop<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
timeout: f64,
) -> RedisResult<RV>
fn blpop<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, timeout: f64, ) -> RedisResult<RV>
Source§fn brpop<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
timeout: f64,
) -> RedisResult<RV>
fn brpop<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, timeout: f64, ) -> RedisResult<RV>
Source§fn brpoplpush<'a, S: ToSingleRedisArg, D: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
srckey: S,
dstkey: D,
timeout: f64,
) -> RedisResult<RV>
fn brpoplpush<'a, S: ToSingleRedisArg, D: ToSingleRedisArg, RV: FromRedisValue>( &mut self, srckey: S, dstkey: D, timeout: f64, ) -> RedisResult<RV>
Source§fn lindex<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
index: isize,
) -> RedisResult<RV>
fn lindex<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, index: isize, ) -> RedisResult<RV>
Source§fn linsert_before<'a, K: ToSingleRedisArg, P: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pivot: P,
value: V,
) -> RedisResult<RV>
fn linsert_before<'a, K: ToSingleRedisArg, P: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pivot: P, value: V, ) -> RedisResult<RV>
Source§fn linsert_after<'a, K: ToSingleRedisArg, P: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pivot: P,
value: V,
) -> RedisResult<RV>
fn linsert_after<'a, K: ToSingleRedisArg, P: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pivot: P, value: V, ) -> RedisResult<RV>
Source§fn llen<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn llen<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn lmove<'a, S: ToSingleRedisArg, D: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
srckey: S,
dstkey: D,
src_dir: Direction,
dst_dir: Direction,
) -> RedisResult<RV>
fn lmove<'a, S: ToSingleRedisArg, D: ToSingleRedisArg, RV: FromRedisValue>( &mut self, srckey: S, dstkey: D, src_dir: Direction, dst_dir: Direction, ) -> RedisResult<RV>
Source§fn lmpop<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
numkeys: usize,
key: K,
dir: Direction,
count: usize,
) -> RedisResult<RV>
fn lmpop<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, numkeys: usize, key: K, dir: Direction, count: usize, ) -> RedisResult<RV>
count elements from the first non-empty list key from the list of
provided key names.
Redis DocsSource§fn lpop<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisResult<RV>
fn lpop<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, count: Option<NonZeroUsize>, ) -> RedisResult<RV>
count first elements of the list stored at key. Read moreSource§fn lpos<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
value: V,
options: LposOptions,
) -> RedisResult<RV>
fn lpos<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, value: V, options: LposOptions, ) -> RedisResult<RV>
Source§fn lpush<'a, K: ToSingleRedisArg, V: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
value: V,
) -> RedisResult<RV>
fn lpush<'a, K: ToSingleRedisArg, V: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, value: V, ) -> RedisResult<RV>
Source§fn lpush_exists<'a, K: ToSingleRedisArg, V: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
value: V,
) -> RedisResult<RV>
fn lpush_exists<'a, K: ToSingleRedisArg, V: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, value: V, ) -> RedisResult<RV>
Source§fn lrange<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<RV>
fn lrange<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, start: isize, stop: isize, ) -> RedisResult<RV>
Source§fn lrem<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
count: isize,
value: V,
) -> RedisResult<RV>
fn lrem<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, count: isize, value: V, ) -> RedisResult<RV>
Source§fn ltrim<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<RV>
fn ltrim<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, start: isize, stop: isize, ) -> RedisResult<RV>
Source§fn lset<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
index: isize,
value: V,
) -> RedisResult<RV>
fn lset<'a, K: ToSingleRedisArg, V: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, index: isize, value: V, ) -> RedisResult<RV>
Source§fn ping<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn ping<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn ping_message<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
message: K,
) -> RedisResult<RV>
fn ping_message<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, message: K, ) -> RedisResult<RV>
Source§fn rpop<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisResult<RV>
fn rpop<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, count: Option<NonZeroUsize>, ) -> RedisResult<RV>
count last elements of the list stored at key Read moreSource§fn rpoplpush<'a, K: ToSingleRedisArg, D: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
dstkey: D,
) -> RedisResult<RV>
fn rpoplpush<'a, K: ToSingleRedisArg, D: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, dstkey: D, ) -> RedisResult<RV>
Source§fn rpush<'a, K: ToSingleRedisArg, V: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
value: V,
) -> RedisResult<RV>
fn rpush<'a, K: ToSingleRedisArg, V: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, value: V, ) -> RedisResult<RV>
Source§fn rpush_exists<'a, K: ToSingleRedisArg, V: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
value: V,
) -> RedisResult<RV>
fn rpush_exists<'a, K: ToSingleRedisArg, V: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, value: V, ) -> RedisResult<RV>
Source§fn sadd<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
member: M,
) -> RedisResult<RV>
fn sadd<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, member: M, ) -> RedisResult<RV>
Source§fn scard<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn scard<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn sdiff<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
keys: K,
) -> RedisResult<RV>
fn sdiff<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, keys: K, ) -> RedisResult<RV>
Source§fn sdiffstore<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: K,
) -> RedisResult<RV>
fn sdiffstore<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: K, ) -> RedisResult<RV>
Source§fn sinter<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
keys: K,
) -> RedisResult<RV>
fn sinter<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, keys: K, ) -> RedisResult<RV>
Source§fn sinterstore<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: K,
) -> RedisResult<RV>
fn sinterstore<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: K, ) -> RedisResult<RV>
Source§fn sismember<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
member: M,
) -> RedisResult<RV>
fn sismember<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, member: M, ) -> RedisResult<RV>
Source§fn smismember<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
members: M,
) -> RedisResult<RV>
fn smismember<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, members: M, ) -> RedisResult<RV>
Source§fn smembers<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn smembers<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn smove<'a, S: ToSingleRedisArg, D: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
srckey: S,
dstkey: D,
member: M,
) -> RedisResult<RV>
fn smove<'a, S: ToSingleRedisArg, D: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, srckey: S, dstkey: D, member: M, ) -> RedisResult<RV>
Source§fn spop<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn spop<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn srandmember<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn srandmember<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn srandmember_multiple<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
count: isize,
) -> RedisResult<RV>
fn srandmember_multiple<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, count: isize, ) -> RedisResult<RV>
Source§fn srem<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
member: M,
) -> RedisResult<RV>
fn srem<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, member: M, ) -> RedisResult<RV>
Source§fn sunion<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
keys: K,
) -> RedisResult<RV>
fn sunion<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, keys: K, ) -> RedisResult<RV>
Source§fn sunionstore<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: K,
) -> RedisResult<RV>
fn sunionstore<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: K, ) -> RedisResult<RV>
Source§fn zadd<'a, K: ToSingleRedisArg, S: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
member: M,
score: S,
) -> RedisResult<RV>
fn zadd<'a, K: ToSingleRedisArg, S: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, member: M, score: S, ) -> RedisResult<RV>
Source§fn zadd_multiple<'a, K: ToSingleRedisArg, S: ToRedisArgs, M: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
items: &'a [(S, M)],
) -> RedisResult<RV>
fn zadd_multiple<'a, K: ToSingleRedisArg, S: ToRedisArgs, M: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, items: &'a [(S, M)], ) -> RedisResult<RV>
Source§fn zadd_options<'a, K: ToSingleRedisArg, S: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
member: M,
score: S,
options: &'a SortedSetAddOptions,
) -> RedisResult<RV>
fn zadd_options<'a, K: ToSingleRedisArg, S: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, member: M, score: S, options: &'a SortedSetAddOptions, ) -> RedisResult<RV>
Source§fn zadd_multiple_options<'a, K: ToSingleRedisArg, S: ToRedisArgs, M: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
items: &'a [(S, M)],
options: &'a SortedSetAddOptions,
) -> RedisResult<RV>
fn zadd_multiple_options<'a, K: ToSingleRedisArg, S: ToRedisArgs, M: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, items: &'a [(S, M)], options: &'a SortedSetAddOptions, ) -> RedisResult<RV>
Source§fn zcard<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn zcard<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn zcount<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<RV>
fn zcount<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, min: M, max: MM, ) -> RedisResult<RV>
Source§fn zincr<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, D: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
member: M,
delta: D,
) -> RedisResult<RV>
fn zincr<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, D: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, member: M, delta: D, ) -> RedisResult<RV>
Source§fn zinterstore<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: K,
) -> RedisResult<RV>
fn zinterstore<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: K, ) -> RedisResult<RV>
Source§fn zinterstore_min<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: K,
) -> RedisResult<RV>
fn zinterstore_min<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: K, ) -> RedisResult<RV>
Source§fn zinterstore_max<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: K,
) -> RedisResult<RV>
fn zinterstore_max<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: K, ) -> RedisResult<RV>
Source§fn zinterstore_weights<'a, D: ToSingleRedisArg, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisResult<RV>
fn zinterstore_weights<'a, D: ToSingleRedisArg, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisResult<RV>
Commands::zinterstore, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zinterstore_min_weights<'a, D: ToSingleRedisArg, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisResult<RV>
fn zinterstore_min_weights<'a, D: ToSingleRedisArg, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisResult<RV>
Commands::zinterstore_min, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zinterstore_max_weights<'a, D: ToSingleRedisArg, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisResult<RV>
fn zinterstore_max_weights<'a, D: ToSingleRedisArg, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisResult<RV>
Commands::zinterstore_max, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zlexcount<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<RV>
fn zlexcount<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, min: M, max: MM, ) -> RedisResult<RV>
Source§fn bzpopmax<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
timeout: f64,
) -> RedisResult<RV>
fn bzpopmax<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, timeout: f64, ) -> RedisResult<RV>
Source§fn zpopmax<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
count: isize,
) -> RedisResult<RV>
fn zpopmax<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, count: isize, ) -> RedisResult<RV>
Source§fn bzpopmin<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
timeout: f64,
) -> RedisResult<RV>
fn bzpopmin<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, timeout: f64, ) -> RedisResult<RV>
Source§fn zpopmin<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
count: isize,
) -> RedisResult<RV>
fn zpopmin<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, count: isize, ) -> RedisResult<RV>
Source§fn bzmpop_max<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
timeout: f64,
keys: K,
count: isize,
) -> RedisResult<RV>
fn bzmpop_max<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, timeout: f64, keys: K, count: isize, ) -> RedisResult<RV>
Source§fn zmpop_max<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
keys: K,
count: isize,
) -> RedisResult<RV>
fn zmpop_max<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, keys: K, count: isize, ) -> RedisResult<RV>
Source§fn bzmpop_min<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
timeout: f64,
keys: K,
count: isize,
) -> RedisResult<RV>
fn bzmpop_min<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, timeout: f64, keys: K, count: isize, ) -> RedisResult<RV>
Source§fn zmpop_min<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
keys: K,
count: isize,
) -> RedisResult<RV>
fn zmpop_min<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, keys: K, count: isize, ) -> RedisResult<RV>
Source§fn zrandmember<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
count: Option<isize>,
) -> RedisResult<RV>
fn zrandmember<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, count: Option<isize>, ) -> RedisResult<RV>
count == None)
Redis DocsSource§fn zrandmember_withscores<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
count: isize,
) -> RedisResult<RV>
fn zrandmember_withscores<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, count: isize, ) -> RedisResult<RV>
Source§fn zrange<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<RV>
fn zrange<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, start: isize, stop: isize, ) -> RedisResult<RV>
Source§fn zrange_withscores<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<RV>
fn zrange_withscores<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, start: isize, stop: isize, ) -> RedisResult<RV>
Source§fn zrangebylex<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<RV>
fn zrangebylex<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, min: M, max: MM, ) -> RedisResult<RV>
Source§fn zrangebylex_limit<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisResult<RV>
fn zrangebylex_limit<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, min: M, max: MM, offset: isize, count: isize, ) -> RedisResult<RV>
Source§fn zrevrangebylex<'a, K: ToSingleRedisArg, MM: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
max: MM,
min: M,
) -> RedisResult<RV>
fn zrevrangebylex<'a, K: ToSingleRedisArg, MM: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, max: MM, min: M, ) -> RedisResult<RV>
Source§fn zrevrangebylex_limit<'a, K: ToSingleRedisArg, MM: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisResult<RV>
fn zrevrangebylex_limit<'a, K: ToSingleRedisArg, MM: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, max: MM, min: M, offset: isize, count: isize, ) -> RedisResult<RV>
Source§fn zrangebyscore<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<RV>
fn zrangebyscore<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, min: M, max: MM, ) -> RedisResult<RV>
Source§fn zrangebyscore_withscores<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<RV>
fn zrangebyscore_withscores<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, min: M, max: MM, ) -> RedisResult<RV>
Source§fn zrangebyscore_limit<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisResult<RV>
fn zrangebyscore_limit<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, min: M, max: MM, offset: isize, count: isize, ) -> RedisResult<RV>
Source§fn zrangebyscore_limit_withscores<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisResult<RV>
fn zrangebyscore_limit_withscores<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, min: M, max: MM, offset: isize, count: isize, ) -> RedisResult<RV>
Source§fn zrank<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
member: M,
) -> RedisResult<RV>
fn zrank<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, member: M, ) -> RedisResult<RV>
Source§fn zrem<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
members: M,
) -> RedisResult<RV>
fn zrem<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, members: M, ) -> RedisResult<RV>
Source§fn zrembylex<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<RV>
fn zrembylex<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, min: M, max: MM, ) -> RedisResult<RV>
Source§fn zremrangebyrank<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<RV>
fn zremrangebyrank<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, start: isize, stop: isize, ) -> RedisResult<RV>
Source§fn zrembyscore<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<RV>
fn zrembyscore<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, MM: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, min: M, max: MM, ) -> RedisResult<RV>
Source§fn zrevrange<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<RV>
fn zrevrange<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, start: isize, stop: isize, ) -> RedisResult<RV>
Source§fn zrevrange_withscores<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<RV>
fn zrevrange_withscores<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, start: isize, stop: isize, ) -> RedisResult<RV>
Source§fn zrevrangebyscore<'a, K: ToSingleRedisArg, MM: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
max: MM,
min: M,
) -> RedisResult<RV>
fn zrevrangebyscore<'a, K: ToSingleRedisArg, MM: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, max: MM, min: M, ) -> RedisResult<RV>
Source§fn zrevrangebyscore_withscores<'a, K: ToSingleRedisArg, MM: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
max: MM,
min: M,
) -> RedisResult<RV>
fn zrevrangebyscore_withscores<'a, K: ToSingleRedisArg, MM: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, max: MM, min: M, ) -> RedisResult<RV>
Source§fn zrevrangebyscore_limit<'a, K: ToSingleRedisArg, MM: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisResult<RV>
fn zrevrangebyscore_limit<'a, K: ToSingleRedisArg, MM: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, max: MM, min: M, offset: isize, count: isize, ) -> RedisResult<RV>
Source§fn zrevrangebyscore_limit_withscores<'a, K: ToSingleRedisArg, MM: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisResult<RV>
fn zrevrangebyscore_limit_withscores<'a, K: ToSingleRedisArg, MM: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, max: MM, min: M, offset: isize, count: isize, ) -> RedisResult<RV>
Source§fn zrevrank<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
member: M,
) -> RedisResult<RV>
fn zrevrank<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, member: M, ) -> RedisResult<RV>
Source§fn zscore<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
member: M,
) -> RedisResult<RV>
fn zscore<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, member: M, ) -> RedisResult<RV>
Source§fn zscore_multiple<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
members: &'a [M],
) -> RedisResult<RV>
fn zscore_multiple<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, members: &'a [M], ) -> RedisResult<RV>
Source§fn zunionstore<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: K,
) -> RedisResult<RV>
fn zunionstore<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: K, ) -> RedisResult<RV>
Source§fn zunionstore_min<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: K,
) -> RedisResult<RV>
fn zunionstore_min<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: K, ) -> RedisResult<RV>
Source§fn zunionstore_max<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: K,
) -> RedisResult<RV>
fn zunionstore_max<'a, D: ToSingleRedisArg, K: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: K, ) -> RedisResult<RV>
Source§fn zunionstore_weights<'a, D: ToSingleRedisArg, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisResult<RV>
fn zunionstore_weights<'a, D: ToSingleRedisArg, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisResult<RV>
Commands::zunionstore, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zunionstore_min_weights<'a, D: ToSingleRedisArg, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisResult<RV>
fn zunionstore_min_weights<'a, D: ToSingleRedisArg, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisResult<RV>
Commands::zunionstore_min, but with the ability to specify a
multiplication factor for each sorted set by pairing one with each key
in a tuple.
Redis DocsSource§fn zunionstore_max_weights<'a, D: ToSingleRedisArg, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisResult<RV>
fn zunionstore_max_weights<'a, D: ToSingleRedisArg, K: ToRedisArgs, W: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisResult<RV>
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: ToSingleRedisArg, E: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
element: E,
) -> RedisResult<RV>
fn pfadd<'a, K: ToSingleRedisArg, E: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, element: E, ) -> RedisResult<RV>
Source§fn pfcount<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn pfcount<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn pfmerge<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>(
&mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<RV>
fn pfmerge<'a, D: ToSingleRedisArg, S: ToRedisArgs, RV: FromRedisValue>( &mut self, dstkey: D, srckeys: S, ) -> RedisResult<RV>
Source§fn publish<'a, K: ToSingleRedisArg, E: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
channel: K,
message: E,
) -> RedisResult<RV>
fn publish<'a, K: ToSingleRedisArg, E: ToSingleRedisArg, RV: FromRedisValue>( &mut self, channel: K, message: E, ) -> RedisResult<RV>
Source§fn spublish<'a, K: ToSingleRedisArg, E: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
channel: K,
message: E,
) -> RedisResult<RV>
fn spublish<'a, K: ToSingleRedisArg, E: ToSingleRedisArg, RV: FromRedisValue>( &mut self, channel: K, message: E, ) -> RedisResult<RV>
Source§fn object_encoding<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn object_encoding<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn object_idletime<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn object_idletime<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn object_freq<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn object_freq<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn object_refcount<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn object_refcount<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn client_getname<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn client_getname<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn client_id<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn client_id<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn client_setname<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
connection_name: K,
) -> RedisResult<RV>
fn client_setname<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, connection_name: K, ) -> RedisResult<RV>
Source§fn acl_load<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn acl_load<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn acl_save<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn acl_save<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn acl_list<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn acl_list<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn acl_users<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn acl_users<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn acl_getuser<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
username: K,
) -> RedisResult<RV>
fn acl_getuser<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, username: K, ) -> RedisResult<RV>
Source§fn acl_setuser<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
username: K,
) -> RedisResult<RV>
fn acl_setuser<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, username: K, ) -> RedisResult<RV>
Source§fn acl_setuser_rules<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
username: K,
rules: &'a [Rule],
) -> RedisResult<RV>
fn acl_setuser_rules<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, username: K, rules: &'a [Rule], ) -> RedisResult<RV>
Source§fn acl_deluser<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
usernames: &'a [K],
) -> RedisResult<RV>
fn acl_deluser<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, usernames: &'a [K], ) -> RedisResult<RV>
Source§fn acl_dryrun<'a, K: ToSingleRedisArg, C: ToSingleRedisArg, A: ToRedisArgs, RV: FromRedisValue>(
&mut self,
username: K,
command: C,
args: A,
) -> RedisResult<RV>
fn acl_dryrun<'a, K: ToSingleRedisArg, C: ToSingleRedisArg, A: ToRedisArgs, RV: FromRedisValue>( &mut self, username: K, command: C, args: A, ) -> RedisResult<RV>
Source§fn acl_cat<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn acl_cat<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn acl_cat_categoryname<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
categoryname: K,
) -> RedisResult<RV>
fn acl_cat_categoryname<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, categoryname: K, ) -> RedisResult<RV>
Source§fn acl_genpass<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn acl_genpass<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn acl_genpass_bits<'a, RV: FromRedisValue>(
&mut self,
bits: isize,
) -> RedisResult<RV>
fn acl_genpass_bits<'a, RV: FromRedisValue>( &mut self, bits: isize, ) -> RedisResult<RV>
Source§fn acl_whoami<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn acl_whoami<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn acl_log<'a, RV: FromRedisValue>(&mut self, count: isize) -> RedisResult<RV>
fn acl_log<'a, RV: FromRedisValue>(&mut self, count: isize) -> RedisResult<RV>
Source§fn acl_log_reset<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn acl_log_reset<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn acl_help<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn acl_help<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn geo_add<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
members: M,
) -> RedisResult<RV>
fn geo_add<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, members: M, ) -> RedisResult<RV>
Source§fn geo_dist<'a, K: ToSingleRedisArg, M1: ToSingleRedisArg, M2: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
member1: M1,
member2: M2,
unit: Unit,
) -> RedisResult<RV>
fn geo_dist<'a, K: ToSingleRedisArg, M1: ToSingleRedisArg, M2: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, member1: M1, member2: M2, unit: Unit, ) -> RedisResult<RV>
Source§fn geo_hash<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
members: M,
) -> RedisResult<RV>
fn geo_hash<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, members: M, ) -> RedisResult<RV>
Source§fn geo_pos<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
members: M,
) -> RedisResult<RV>
fn geo_pos<'a, K: ToSingleRedisArg, M: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, members: M, ) -> RedisResult<RV>
Source§fn geo_radius<'a, K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
longitude: f64,
latitude: f64,
radius: f64,
unit: Unit,
options: RadiusOptions,
) -> RedisResult<RV>
fn geo_radius<'a, K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, longitude: f64, latitude: f64, radius: f64, unit: Unit, options: RadiusOptions, ) -> RedisResult<RV>
Source§fn geo_radius_by_member<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
member: M,
radius: f64,
unit: Unit,
options: RadiusOptions,
) -> RedisResult<RV>
fn geo_radius_by_member<'a, K: ToSingleRedisArg, M: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, member: M, radius: f64, unit: Unit, options: RadiusOptions, ) -> RedisResult<RV>
member. The
member itself is always contained in the results.
Redis DocsSource§fn xack<'a, K: ToRedisArgs, G: ToRedisArgs, I: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
ids: &'a [I],
) -> RedisResult<RV>
fn xack<'a, K: ToRedisArgs, G: ToRedisArgs, I: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, ids: &'a [I], ) -> RedisResult<RV>
Source§fn xadd<'a, K: ToRedisArgs, ID: ToRedisArgs, F: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
id: ID,
items: &'a [(F, V)],
) -> RedisResult<RV>
fn xadd<'a, K: ToRedisArgs, ID: ToRedisArgs, F: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, id: ID, items: &'a [(F, V)], ) -> RedisResult<RV>
Source§fn xadd_map<'a, K: ToRedisArgs, ID: ToRedisArgs, BTM: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
id: ID,
map: BTM,
) -> RedisResult<RV>
fn xadd_map<'a, K: ToRedisArgs, ID: ToRedisArgs, BTM: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, id: ID, map: BTM, ) -> RedisResult<RV>
key.
Use * as the id for the current timestamp. Read moreSource§fn xadd_options<'a, K: ToRedisArgs, ID: ToRedisArgs, I: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
id: ID,
items: I,
options: &'a StreamAddOptions,
) -> RedisResult<RV>
fn xadd_options<'a, K: ToRedisArgs, ID: ToRedisArgs, I: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, id: ID, items: I, options: &'a StreamAddOptions, ) -> RedisResult<RV>
Source§fn xadd_maxlen<'a, K: ToSingleRedisArg, ID: ToRedisArgs, F: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
maxlen: StreamMaxlen,
id: ID,
items: &'a [(F, V)],
) -> RedisResult<RV>
fn xadd_maxlen<'a, K: ToSingleRedisArg, ID: ToRedisArgs, F: ToRedisArgs, V: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, maxlen: StreamMaxlen, id: ID, items: &'a [(F, V)], ) -> RedisResult<RV>
Source§fn xadd_maxlen_map<'a, K: ToSingleRedisArg, ID: ToRedisArgs, BTM: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
maxlen: StreamMaxlen,
id: ID,
map: BTM,
) -> RedisResult<RV>
fn xadd_maxlen_map<'a, K: ToSingleRedisArg, ID: ToRedisArgs, BTM: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, maxlen: StreamMaxlen, id: ID, map: BTM, ) -> RedisResult<RV>
Source§fn xautoclaim_options<'a, K: ToSingleRedisArg, G: ToRedisArgs, C: ToRedisArgs, MIT: ToRedisArgs, S: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
start: S,
options: StreamAutoClaimOptions,
) -> RedisResult<RV>
fn xautoclaim_options<'a, K: ToSingleRedisArg, G: ToRedisArgs, C: ToRedisArgs, MIT: ToRedisArgs, S: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, consumer: C, min_idle_time: MIT, start: S, options: StreamAutoClaimOptions, ) -> RedisResult<RV>
Source§fn xclaim<'a, K: ToSingleRedisArg, G: ToRedisArgs, C: ToRedisArgs, MIT: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
ids: &'a [ID],
) -> RedisResult<RV>
fn xclaim<'a, K: ToSingleRedisArg, G: ToRedisArgs, C: ToRedisArgs, MIT: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, consumer: C, min_idle_time: MIT, ids: &'a [ID], ) -> RedisResult<RV>
Source§fn xclaim_options<'a, K: ToSingleRedisArg, G: ToRedisArgs, C: ToRedisArgs, MIT: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
ids: &'a [ID],
options: StreamClaimOptions,
) -> RedisResult<RV>
fn xclaim_options<'a, K: ToSingleRedisArg, G: ToRedisArgs, C: ToRedisArgs, MIT: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, consumer: C, min_idle_time: MIT, ids: &'a [ID], options: StreamClaimOptions, ) -> RedisResult<RV>
Source§fn xdel<'a, K: ToSingleRedisArg, ID: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
ids: &'a [ID],
) -> RedisResult<RV>
fn xdel<'a, K: ToSingleRedisArg, ID: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ids: &'a [ID], ) -> RedisResult<RV>
Source§fn xdel_ex<'a, K: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
ids: &'a [ID],
options: StreamDeletionPolicy,
) -> RedisResult<RV>
fn xdel_ex<'a, K: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ids: &'a [ID], options: StreamDeletionPolicy, ) -> RedisResult<RV>
XDEL command that provides finer control over how message entries are deleted with respect to consumer groups.Source§fn xack_del<'a, K: ToRedisArgs, G: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
ids: &'a [ID],
options: StreamDeletionPolicy,
) -> RedisResult<RV>
fn xack_del<'a, K: ToRedisArgs, G: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, ids: &'a [ID], options: StreamDeletionPolicy, ) -> RedisResult<RV>
XACK and XDEL that acknowledges and attempts to delete a list of ids for a given stream key and consumer group.Source§fn xgroup_create<'a, K: ToRedisArgs, G: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
id: ID,
) -> RedisResult<RV>
fn xgroup_create<'a, K: ToRedisArgs, G: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, id: ID, ) -> RedisResult<RV>
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, G: ToRedisArgs, C: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
consumer: C,
) -> RedisResult<RV>
fn xgroup_createconsumer<'a, K: ToRedisArgs, G: ToRedisArgs, C: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, consumer: C, ) -> RedisResult<RV>
consumer explicitly (vs implicit via XREADGROUP)
for given stream `key. Read moreSource§fn xgroup_create_mkstream<'a, K: ToRedisArgs, G: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
id: ID,
) -> RedisResult<RV>
fn xgroup_create_mkstream<'a, K: ToRedisArgs, G: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, id: ID, ) -> RedisResult<RV>
group
which makes the stream if it doesn’t exist. Read moreSource§fn xgroup_setid<'a, K: ToRedisArgs, G: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
id: ID,
) -> RedisResult<RV>
fn xgroup_setid<'a, K: ToRedisArgs, G: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, id: ID, ) -> RedisResult<RV>
Source§fn xgroup_destroy<'a, K: ToRedisArgs, G: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
) -> RedisResult<RV>
fn xgroup_destroy<'a, K: ToRedisArgs, G: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, ) -> RedisResult<RV>
Source§fn xgroup_delconsumer<'a, K: ToRedisArgs, G: ToRedisArgs, C: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
consumer: C,
) -> RedisResult<RV>
fn xgroup_delconsumer<'a, K: ToRedisArgs, G: ToRedisArgs, C: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, consumer: C, ) -> RedisResult<RV>
Source§fn xinfo_consumers<'a, K: ToRedisArgs, G: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
) -> RedisResult<RV>
fn xinfo_consumers<'a, K: ToRedisArgs, G: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, ) -> RedisResult<RV>
group.
Take note of the StreamInfoConsumersReply return type. Read moreSource§fn xinfo_groups<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn xinfo_groups<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
groups created for a given stream key.
Take note of the StreamInfoGroupsReply return type. Read moreSource§fn xinfo_stream<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn xinfo_stream<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
id, length, number of groups, etc.)
Take note of the StreamInfoStreamReply return type. Read moreSource§fn xlen<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn xlen<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
key. Read moreSource§fn xpending<'a, K: ToRedisArgs, G: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
) -> RedisResult<RV>
fn xpending<'a, K: ToRedisArgs, G: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, ) -> RedisResult<RV>
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, G: ToRedisArgs, S: ToRedisArgs, E: ToRedisArgs, C: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
start: S,
end: E,
count: C,
) -> RedisResult<RV>
fn xpending_count<'a, K: ToRedisArgs, G: ToRedisArgs, S: ToRedisArgs, E: ToRedisArgs, C: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, start: S, end: E, count: C, ) -> RedisResult<RV>
Source§fn xpending_consumer_count<'a, K: ToRedisArgs, G: ToRedisArgs, S: ToRedisArgs, E: ToRedisArgs, C: ToRedisArgs, CN: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
group: G,
start: S,
end: E,
count: C,
consumer: CN,
) -> RedisResult<RV>
fn xpending_consumer_count<'a, K: ToRedisArgs, G: ToRedisArgs, S: ToRedisArgs, E: ToRedisArgs, C: ToRedisArgs, CN: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, group: G, start: S, end: E, count: C, consumer: CN, ) -> RedisResult<RV>
Source§fn xrange<'a, K: ToRedisArgs, S: ToRedisArgs, E: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
start: S,
end: E,
) -> RedisResult<RV>
fn xrange<'a, K: ToRedisArgs, S: ToRedisArgs, E: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, start: S, end: E, ) -> RedisResult<RV>
key. Read moreSource§fn xrange_all<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn xrange_all<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
key.
Use with caution! Read moreSource§fn xrange_count<'a, K: ToRedisArgs, S: ToRedisArgs, E: ToRedisArgs, C: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
start: S,
end: E,
count: C,
) -> RedisResult<RV>
fn xrange_count<'a, K: ToRedisArgs, S: ToRedisArgs, E: ToRedisArgs, C: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, start: S, end: E, count: C, ) -> RedisResult<RV>
key. Read moreSource§fn xread<'a, K: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>(
&mut self,
keys: &'a [K],
ids: &'a [ID],
) -> RedisResult<RV>
fn xread<'a, K: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>( &mut self, keys: &'a [K], ids: &'a [ID], ) -> RedisResult<RV>
ids for each stream key.
This is the basic form of reading streams.
For more advanced control, like blocking, limiting, or reading by consumer group,
see xread_options. Read moreSource§fn xread_options<'a, K: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>(
&mut self,
keys: &'a [K],
ids: &'a [ID],
options: &'a StreamReadOptions,
) -> RedisResult<RV>
fn xread_options<'a, K: ToRedisArgs, ID: ToRedisArgs, RV: FromRedisValue>( &mut self, keys: &'a [K], ids: &'a [ID], options: &'a StreamReadOptions, ) -> RedisResult<RV>
Source§fn xrevrange<'a, K: ToRedisArgs, E: ToRedisArgs, S: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
end: E,
start: S,
) -> RedisResult<RV>
fn xrevrange<'a, K: ToRedisArgs, E: ToRedisArgs, S: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, end: E, start: S, ) -> RedisResult<RV>
Source§fn xrevrange_all<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<RV>
fn xrevrange_all<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<RV>
Source§fn xrevrange_count<'a, K: ToRedisArgs, E: ToRedisArgs, S: ToRedisArgs, C: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
end: E,
start: S,
count: C,
) -> RedisResult<RV>
fn xrevrange_count<'a, K: ToRedisArgs, E: ToRedisArgs, S: ToRedisArgs, C: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, end: E, start: S, count: C, ) -> RedisResult<RV>
Source§fn xtrim<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
maxlen: StreamMaxlen,
) -> RedisResult<RV>
fn xtrim<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, maxlen: StreamMaxlen, ) -> RedisResult<RV>
key to a MAXLEN count. Read moreSource§fn xtrim_options<'a, K: ToRedisArgs, RV: FromRedisValue>(
&mut self,
key: K,
options: &'a StreamTrimOptions,
) -> RedisResult<RV>
fn xtrim_options<'a, K: ToRedisArgs, RV: FromRedisValue>( &mut self, key: K, options: &'a StreamTrimOptions, ) -> RedisResult<RV>
key with full options Read moreSource§fn load_script<'a, RV: FromRedisValue>(
&mut self,
script: &'a Script,
) -> RedisResult<RV>
fn load_script<'a, RV: FromRedisValue>( &mut self, script: &'a Script, ) -> RedisResult<RV>
Source§fn invoke_script<'a, RV: FromRedisValue>(
&mut self,
invocation: &'a ScriptInvocation<'a>,
) -> RedisResult<RV>
fn invoke_script<'a, RV: FromRedisValue>( &mut self, invocation: &'a ScriptInvocation<'a>, ) -> RedisResult<RV>
Source§fn flushall<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn flushall<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn flushall_options<'a, RV: FromRedisValue>(
&mut self,
options: &'a FlushAllOptions,
) -> RedisResult<RV>
fn flushall_options<'a, RV: FromRedisValue>( &mut self, options: &'a FlushAllOptions, ) -> RedisResult<RV>
Source§fn flushdb<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
fn flushdb<'a, RV: FromRedisValue>(&mut self) -> RedisResult<RV>
Source§fn flushdb_options<'a, RV: FromRedisValue>(
&mut self,
options: &'a FlushDbOptions,
) -> RedisResult<RV>
fn flushdb_options<'a, RV: FromRedisValue>( &mut self, options: &'a FlushDbOptions, ) -> RedisResult<RV>
Source§fn scan<RV: FromRedisValue>(&mut self) -> RedisResult<Iter<'_, RV>>
fn scan<RV: FromRedisValue>(&mut self) -> RedisResult<Iter<'_, RV>>
Source§fn scan_options<RV: FromRedisValue>(
&mut self,
opts: ScanOptions,
) -> RedisResult<Iter<'_, RV>>
fn scan_options<RV: FromRedisValue>( &mut self, opts: ScanOptions, ) -> RedisResult<Iter<'_, RV>>
Source§fn scan_match<P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
pattern: P,
) -> RedisResult<Iter<'_, RV>>
fn scan_match<P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, pattern: P, ) -> RedisResult<Iter<'_, RV>>
Source§fn hscan<K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<Iter<'_, RV>>
fn hscan<K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<Iter<'_, RV>>
Source§fn hscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisResult<Iter<'_, RV>>
fn hscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisResult<Iter<'_, RV>>
Source§fn sscan<K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<Iter<'_, RV>>
fn sscan<K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<Iter<'_, RV>>
Source§fn sscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisResult<Iter<'_, RV>>
fn sscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisResult<Iter<'_, RV>>
Source§fn zscan<K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<Iter<'_, RV>>
fn zscan<K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<Iter<'_, RV>>
Source§fn zscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisResult<Iter<'_, RV>>
fn zscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisResult<Iter<'_, RV>>
Source§impl<T> TypedCommands for Twhere
T: ConnectionLike,
impl<T> TypedCommands for Twhere
T: ConnectionLike,
Source§fn get<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<Option<String>>
fn get<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<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,
) -> RedisResult<Vec<Option<String>>>
fn mget<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<Vec<Option<String>>>
Source§fn keys<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<Vec<String>>
fn keys<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<Vec<String>>
Source§fn set<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisResult<()>
fn set<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisResult<()>
Source§fn set_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
options: SetOptions,
) -> RedisResult<Option<String>>
fn set_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, options: SetOptions, ) -> RedisResult<Option<String>>
Source§fn mset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
items: &'a [(K, V)],
) -> RedisResult<()>
fn mset<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, items: &'a [(K, V)], ) -> RedisResult<()>
Source§fn set_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
seconds: u64,
) -> RedisResult<()>
fn set_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, seconds: u64, ) -> RedisResult<()>
Source§fn pset_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
milliseconds: u64,
) -> RedisResult<()>
fn pset_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, milliseconds: u64, ) -> RedisResult<()>
Source§fn set_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisResult<bool>
fn set_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisResult<bool>
Source§fn mset_nx<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
items: &'a [(K, V)],
) -> RedisResult<bool>
fn mset_nx<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, items: &'a [(K, V)], ) -> RedisResult<bool>
Source§fn mset_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
items: &'a [(K, V)],
options: MSetOptions,
) -> RedisResult<bool>
fn mset_ex<'a, K: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, items: &'a [(K, V)], options: MSetOptions, ) -> RedisResult<bool>
Source§fn getset<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisResult<Option<String>>
fn getset<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisResult<Option<String>>
Source§fn getrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
from: isize,
to: isize,
) -> RedisResult<String>
fn getrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, from: isize, to: isize, ) -> RedisResult<String>
Source§fn setrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
offset: isize,
value: V,
) -> RedisResult<usize>
fn setrange<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, offset: isize, value: V, ) -> RedisResult<usize>
Source§fn del<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<usize>
fn del<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<usize>
Source§fn del_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value_comparison: ValueComparison,
) -> RedisResult<usize>
fn del_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value_comparison: ValueComparison, ) -> RedisResult<usize>
match-value - Delete the key only if its value is equal to match-value
IFNE match-value - Delete the key only if its value is not equal to match-value
IFDEQ match-digest - Delete the key only if the digest of its value is equal to match-digest
IFDNE match-digest - Delete the key only if the digest of its value is not equal to match-digest
Redis DocsSource§fn digest<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<Option<String>>
fn digest<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<Option<String>>
Source§fn exists<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<bool>
fn exists<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<bool>
Source§fn key_type<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<ValueType>
fn key_type<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<ValueType>
Source§fn expire<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
seconds: i64,
) -> RedisResult<bool>
fn expire<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, seconds: i64, ) -> RedisResult<bool>
Source§fn expire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
ts: i64,
) -> RedisResult<bool>
fn expire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ts: i64, ) -> RedisResult<bool>
Source§fn pexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
ms: i64,
) -> RedisResult<bool>
fn pexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ms: i64, ) -> RedisResult<bool>
Source§fn pexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
ts: i64,
) -> RedisResult<bool>
fn pexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ts: i64, ) -> RedisResult<bool>
Source§fn expire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<IntegerReplyOrNoOp>
fn expire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<IntegerReplyOrNoOp>
ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn pexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<IntegerReplyOrNoOp>
fn pexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<IntegerReplyOrNoOp>
ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn persist<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<bool>
fn persist<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<bool>
Source§fn ttl<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<IntegerReplyOrNoOp>
fn ttl<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<IntegerReplyOrNoOp>
ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn pttl<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<IntegerReplyOrNoOp>
fn pttl<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<IntegerReplyOrNoOp>
ExistsButNotRelevant if key exists but has no expiration time.
Redis DocsSource§fn get_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
expire_at: Expiry,
) -> RedisResult<Option<String>>
fn get_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, expire_at: Expiry, ) -> RedisResult<Option<String>>
Source§fn get_del<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<Option<String>>
fn get_del<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<Option<String>>
Source§fn copy<'a, KSrc: ToSingleRedisArg + Send + Sync + 'a, KDst: ToSingleRedisArg + Send + Sync + 'a, Db: ToString + Send + Sync + 'a>(
&'a mut self,
source: KSrc,
destination: KDst,
options: CopyOptions<Db>,
) -> RedisResult<bool>
fn copy<'a, KSrc: ToSingleRedisArg + Send + Sync + 'a, KDst: ToSingleRedisArg + Send + Sync + 'a, Db: ToString + Send + Sync + 'a>( &'a mut self, source: KSrc, destination: KDst, options: CopyOptions<Db>, ) -> RedisResult<bool>
Source§fn rename<'a, K: ToSingleRedisArg + Send + Sync + 'a, N: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
new_key: N,
) -> RedisResult<()>
fn rename<'a, K: ToSingleRedisArg + Send + Sync + 'a, N: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, new_key: N, ) -> RedisResult<()>
Source§fn rename_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, N: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
new_key: N,
) -> RedisResult<bool>
fn rename_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, N: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, new_key: N, ) -> RedisResult<bool>
Source§fn unlink<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<usize>
fn unlink<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<usize>
DEL.
Returns number of keys unlinked.
Redis DocsSource§fn append<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisResult<usize>
fn append<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisResult<usize>
Source§fn incr<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
delta: V,
) -> RedisResult<isize>
fn incr<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, delta: V, ) -> RedisResult<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: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
delta: V,
) -> RedisResult<isize>
fn decr<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, delta: V, ) -> RedisResult<isize>
Source§fn setbit<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
offset: usize,
value: bool,
) -> RedisResult<bool>
fn setbit<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, offset: usize, value: bool, ) -> RedisResult<bool>
Source§fn getbit<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
offset: usize,
) -> RedisResult<bool>
fn getbit<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, offset: usize, ) -> RedisResult<bool>
Source§fn bitcount<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<usize>
fn bitcount<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<usize>
Source§fn bitcount_range<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: usize,
end: usize,
) -> RedisResult<usize>
fn bitcount_range<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: usize, end: usize, ) -> RedisResult<usize>
Source§fn bit_and<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<usize>
fn bit_and<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisResult<usize>
Source§fn bit_or<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<usize>
fn bit_or<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisResult<usize>
Source§fn bit_xor<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<usize>
fn bit_xor<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisResult<usize>
Source§fn bit_not<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckey: S,
) -> RedisResult<usize>
fn bit_not<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, dstkey: D, srckey: S, ) -> RedisResult<usize>
Source§fn bit_diff<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<usize>
fn bit_diff<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisResult<usize>
Perform a set difference to extract the members of X that are not members of any of Y1, Y2,….
Logical representation: X ∧ ¬(Y1 ∨ Y2 ∨ …)
Redis Docs
Source§fn bit_diff1<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<usize>
fn bit_diff1<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisResult<usize>
Perform a relative complement set difference to extract the members of one or more of Y1, Y2,… that are not members of X.
Logical representation: ¬X ∧ (Y1 ∨ Y2 ∨ …)
Redis Docs
Source§fn bit_and_or<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<usize>
fn bit_and_or<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisResult<usize>
Perform an “intersection of union(s)” operation to extract the members of X that are also members of one or more of Y1, Y2,….
Logical representation: X ∧ (Y1 ∨ Y2 ∨ …)
Redis Docs
Source§fn bit_one<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<usize>
fn bit_one<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisResult<usize>
Perform an “exclusive membership” operation to extract the members of exactly one of X, Y1, Y2, ….
Logical representation: (X ∨ Y1 ∨ Y2 ∨ …) ∧ ¬((X ∧ Y1) ∨ (X ∧ Y2) ∨ (Y1 ∧ Y2) ∨ (Y1 ∧ Y3) ∨ …)
Redis Docs
Source§fn strlen<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<usize>
fn strlen<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<usize>
Source§fn hget<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
) -> RedisResult<Option<String>>
fn hget<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, field: F, ) -> RedisResult<Option<String>>
Source§fn hmget<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisResult<Vec<String>>
fn hmget<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisResult<Vec<String>>
Source§fn hget_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
expire_at: Expiry,
) -> RedisResult<Vec<String>>
fn hget_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, expire_at: Expiry, ) -> RedisResult<Vec<String>>
Source§fn hdel<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
) -> RedisResult<usize>
fn hdel<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, field: F, ) -> RedisResult<usize>
Source§fn hget_del<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisResult<Vec<Option<String>>>
fn hget_del<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisResult<Vec<Option<String>>>
Source§fn hset<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisResult<usize>
fn hset<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, field: F, value: V, ) -> RedisResult<usize>
Source§fn hset_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
hash_field_expiration_options: &'a HashFieldExpirationOptions,
fields_values: &'a [(F, V)],
) -> RedisResult<bool>
fn hset_ex<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, hash_field_expiration_options: &'a HashFieldExpirationOptions, fields_values: &'a [(F, V)], ) -> RedisResult<bool>
Source§fn hset_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
value: V,
) -> RedisResult<bool>
fn hset_nx<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, field: F, value: V, ) -> RedisResult<bool>
Source§fn hset_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
items: &'a [(F, V)],
) -> RedisResult<()>
fn hset_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, items: &'a [(F, V)], ) -> RedisResult<()>
Source§fn hincr<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
delta: D,
) -> RedisResult<f64>
fn hincr<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, field: F, delta: D, ) -> RedisResult<f64>
Source§fn hexists<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
field: F,
) -> RedisResult<bool>
fn hexists<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, field: F, ) -> RedisResult<bool>
Source§fn httl<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisResult<Vec<IntegerReplyOrNoOp>>
fn httl<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisResult<Vec<IntegerReplyOrNoOp>>
Source§fn hpttl<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisResult<Vec<IntegerReplyOrNoOp>>
fn hpttl<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisResult<Vec<IntegerReplyOrNoOp>>
Source§fn hexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
seconds: i64,
opt: ExpireOption,
fields: F,
) -> RedisResult<Vec<IntegerReplyOrNoOp>>
fn hexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, seconds: i64, opt: ExpireOption, fields: F, ) -> RedisResult<Vec<IntegerReplyOrNoOp>>
Source§fn hexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
ts: i64,
opt: ExpireOption,
fields: F,
) -> RedisResult<Vec<IntegerReplyOrNoOp>>
fn hexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ts: i64, opt: ExpireOption, fields: F, ) -> RedisResult<Vec<IntegerReplyOrNoOp>>
Source§fn hexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisResult<Vec<IntegerReplyOrNoOp>>
fn hexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisResult<Vec<IntegerReplyOrNoOp>>
Source§fn hpersist<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisResult<Vec<IntegerReplyOrNoOp>>
fn hpersist<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisResult<Vec<IntegerReplyOrNoOp>>
Source§fn hpexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
milliseconds: i64,
opt: ExpireOption,
fields: F,
) -> RedisResult<Vec<IntegerReplyOrNoOp>>
fn hpexpire<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, milliseconds: i64, opt: ExpireOption, fields: F, ) -> RedisResult<Vec<IntegerReplyOrNoOp>>
Source§fn hpexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
ts: i64,
opt: ExpireOption,
fields: F,
) -> RedisResult<Vec<IntegerReplyOrNoOp>>
fn hpexpire_at<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ts: i64, opt: ExpireOption, fields: F, ) -> RedisResult<Vec<IntegerReplyOrNoOp>>
Source§fn hpexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
fields: F,
) -> RedisResult<Vec<IntegerReplyOrNoOp>>
fn hpexpire_time<'a, K: ToSingleRedisArg + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, fields: F, ) -> RedisResult<Vec<IntegerReplyOrNoOp>>
Source§fn hkeys<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<Vec<String>>
fn hkeys<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<Vec<String>>
Source§fn hvals<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<Vec<String>>
fn hvals<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<Vec<String>>
Source§fn hgetall<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<HashMap<String, String>>
fn hgetall<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<HashMap<String, String>>
Source§fn hlen<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<usize>
fn hlen<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<usize>
Source§fn blmove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
srckey: S,
dstkey: D,
src_dir: Direction,
dst_dir: Direction,
timeout: f64,
) -> RedisResult<Option<String>>
fn blmove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, srckey: S, dstkey: D, src_dir: Direction, dst_dir: Direction, timeout: f64, ) -> RedisResult<Option<String>>
Source§fn blmpop<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
timeout: f64,
numkeys: usize,
key: K,
dir: Direction,
count: usize,
) -> RedisResult<Option<[String; 2]>>
fn blmpop<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, timeout: f64, numkeys: usize, key: K, dir: Direction, count: usize, ) -> RedisResult<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 DocsSource§fn blpop<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisResult<Option<[String; 2]>>
fn blpop<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, timeout: f64, ) -> RedisResult<Option<[String; 2]>>
Source§fn brpop<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisResult<Option<[String; 2]>>
fn brpop<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, timeout: f64, ) -> RedisResult<Option<[String; 2]>>
Source§fn brpoplpush<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
srckey: S,
dstkey: D,
timeout: f64,
) -> RedisResult<Option<String>>
fn brpoplpush<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, srckey: S, dstkey: D, timeout: f64, ) -> RedisResult<Option<String>>
Source§fn lindex<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
index: isize,
) -> RedisResult<Option<String>>
fn lindex<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, index: isize, ) -> RedisResult<Option<String>>
Source§fn linsert_before<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisResult<isize>
fn linsert_before<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, pivot: P, value: V, ) -> RedisResult<isize>
Source§fn linsert_after<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
pivot: P,
value: V,
) -> RedisResult<isize>
fn linsert_after<'a, K: ToSingleRedisArg + Send + Sync + 'a, P: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, pivot: P, value: V, ) -> RedisResult<isize>
Source§fn llen<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<usize>
fn llen<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<usize>
Source§fn lmove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
srckey: S,
dstkey: D,
src_dir: Direction,
dst_dir: Direction,
) -> RedisResult<String>
fn lmove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, srckey: S, dstkey: D, src_dir: Direction, dst_dir: Direction, ) -> RedisResult<String>
Source§fn lmpop<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
numkeys: usize,
key: K,
dir: Direction,
count: usize,
) -> RedisResult<Option<(String, Vec<String>)>>
fn lmpop<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, numkeys: usize, key: K, dir: Direction, count: usize, ) -> RedisResult<Option<(String, Vec<String>)>>
count elements from the first non-empty list key from the list of
provided key names.
Redis DocsSource§fn lpop<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisResult<RV>
fn lpop<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: Option<NonZeroUsize>, ) -> RedisResult<RV>
count first elements of the list stored at key. Read moreSource§fn lpos<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
options: LposOptions,
) -> RedisResult<RV>
fn lpos<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, value: V, options: LposOptions, ) -> RedisResult<RV>
Source§fn lpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisResult<usize>
fn lpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisResult<usize>
Source§fn lpush_exists<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisResult<usize>
fn lpush_exists<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisResult<usize>
Source§fn lrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<Vec<String>>
fn lrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisResult<Vec<String>>
Source§fn lrem<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
value: V,
) -> RedisResult<usize>
fn lrem<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: isize, value: V, ) -> RedisResult<usize>
Source§fn ltrim<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<()>
fn ltrim<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisResult<()>
Source§fn lset<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
index: isize,
value: V,
) -> RedisResult<()>
fn lset<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, index: isize, value: V, ) -> RedisResult<()>
Source§fn ping<'a>(&'a mut self) -> RedisResult<String>
fn ping<'a>(&'a mut self) -> RedisResult<String>
Source§fn ping_message<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
message: K,
) -> RedisResult<String>
fn ping_message<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, message: K, ) -> RedisResult<String>
Source§fn rpop<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: Option<NonZeroUsize>,
) -> RedisResult<RV>
fn rpop<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: Option<NonZeroUsize>, ) -> RedisResult<RV>
count last elements of the list stored at key Read moreSource§fn rpoplpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
dstkey: D,
) -> RedisResult<Option<String>>
fn rpoplpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, dstkey: D, ) -> RedisResult<Option<String>>
Source§fn rpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisResult<usize>
fn rpush<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisResult<usize>
Source§fn rpush_exists<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
value: V,
) -> RedisResult<usize>
fn rpush_exists<'a, K: ToSingleRedisArg + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, value: V, ) -> RedisResult<usize>
Source§fn sadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisResult<usize>
fn sadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisResult<usize>
Source§fn scard<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<usize>
fn scard<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<usize>
Source§fn sdiff<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: K,
) -> RedisResult<HashSet<String>>
fn sdiff<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: K, ) -> RedisResult<HashSet<String>>
Source§fn sdiffstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisResult<usize>
fn sdiffstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisResult<usize>
Source§fn sinter<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: K,
) -> RedisResult<HashSet<String>>
fn sinter<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: K, ) -> RedisResult<HashSet<String>>
Source§fn sinterstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisResult<usize>
fn sinterstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisResult<usize>
Source§fn sismember<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisResult<bool>
fn sismember<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisResult<bool>
Source§fn smismember<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisResult<Vec<bool>>
fn smismember<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: M, ) -> RedisResult<Vec<bool>>
Source§fn smembers<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<HashSet<String>>
fn smembers<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<HashSet<String>>
Source§fn smove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
srckey: S,
dstkey: D,
member: M,
) -> RedisResult<bool>
fn smove<'a, S: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, srckey: S, dstkey: D, member: M, ) -> RedisResult<bool>
Source§fn spop<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<RV>
fn spop<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<RV>
Source§fn srandmember<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<Option<String>>
fn srandmember<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<Option<String>>
Source§fn srandmember_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
) -> RedisResult<Vec<String>>
fn srandmember_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: isize, ) -> RedisResult<Vec<String>>
Source§fn srem<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisResult<usize>
fn srem<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisResult<usize>
Source§fn sunion<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: K,
) -> RedisResult<HashSet<String>>
fn sunion<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: K, ) -> RedisResult<HashSet<String>>
Source§fn sunionstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisResult<usize>
fn sunionstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisResult<usize>
Source§fn zadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
score: S,
) -> RedisResult<usize>
fn zadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, score: S, ) -> RedisResult<usize>
Source§fn zadd_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
items: &'a [(S, M)],
) -> RedisResult<usize>
fn zadd_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, items: &'a [(S, M)], ) -> RedisResult<usize>
Source§fn zadd_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
score: S,
options: &'a SortedSetAddOptions,
) -> RedisResult<usize>
fn zadd_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, score: S, options: &'a SortedSetAddOptions, ) -> RedisResult<usize>
Source§fn zadd_multiple_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
items: &'a [(S, M)],
options: &'a SortedSetAddOptions,
) -> RedisResult<usize>
fn zadd_multiple_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, items: &'a [(S, M)], options: &'a SortedSetAddOptions, ) -> RedisResult<usize>
Source§fn zcard<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<usize>
fn zcard<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<usize>
Source§fn zcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<usize>
fn zcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisResult<usize>
Source§fn zincr<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
delta: D,
) -> RedisResult<f64>
fn zincr<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, D: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, delta: D, ) -> RedisResult<f64>
Source§fn zinterstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisResult<usize>
fn zinterstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisResult<usize>
Source§fn zinterstore_min<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisResult<usize>
fn zinterstore_min<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisResult<usize>
Source§fn zinterstore_max<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisResult<usize>
fn zinterstore_max<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisResult<usize>
Source§fn zinterstore_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisResult<usize>
fn zinterstore_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisResult<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: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisResult<usize>
fn zinterstore_min_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisResult<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: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisResult<usize>
fn zinterstore_max_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisResult<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: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<usize>
fn zlexcount<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisResult<usize>
Source§fn bzpopmax<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisResult<Option<(String, String, f64)>>
fn bzpopmax<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, timeout: f64, ) -> RedisResult<Option<(String, String, f64)>>
Source§fn zpopmax<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
) -> RedisResult<Vec<String>>
fn zpopmax<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: isize, ) -> RedisResult<Vec<String>>
Source§fn bzpopmin<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
timeout: f64,
) -> RedisResult<Option<(String, String, f64)>>
fn bzpopmin<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, timeout: f64, ) -> RedisResult<Option<(String, String, f64)>>
Source§fn zpopmin<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
) -> RedisResult<Vec<String>>
fn zpopmin<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: isize, ) -> RedisResult<Vec<String>>
Source§fn bzmpop_max<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
timeout: f64,
keys: K,
count: isize,
) -> RedisResult<Option<(String, Vec<(String, f64)>)>>
fn bzmpop_max<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, timeout: f64, keys: K, count: isize, ) -> RedisResult<Option<(String, Vec<(String, f64)>)>>
Source§fn zmpop_max<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: K,
count: isize,
) -> RedisResult<Option<(String, Vec<(String, f64)>)>>
fn zmpop_max<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: K, count: isize, ) -> RedisResult<Option<(String, Vec<(String, f64)>)>>
Source§fn bzmpop_min<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
timeout: f64,
keys: K,
count: isize,
) -> RedisResult<Option<(String, Vec<(String, f64)>)>>
fn bzmpop_min<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, timeout: f64, keys: K, count: isize, ) -> RedisResult<Option<(String, Vec<(String, f64)>)>>
Source§fn zmpop_min<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: K,
count: isize,
) -> RedisResult<Option<(String, Vec<(String, f64)>)>>
fn zmpop_min<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: K, count: isize, ) -> RedisResult<Option<(String, Vec<(String, f64)>)>>
Source§fn zrandmember<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: Option<isize>,
) -> RedisResult<RV>
fn zrandmember<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: Option<isize>, ) -> RedisResult<RV>
count == None)
Redis DocsSource§fn zrandmember_withscores<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
count: isize,
) -> RedisResult<RV>
fn zrandmember_withscores<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, count: isize, ) -> RedisResult<RV>
Source§fn zrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<Vec<String>>
fn zrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisResult<Vec<String>>
Source§fn zrange_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<Vec<(String, f64)>>
fn zrange_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisResult<Vec<(String, f64)>>
Source§fn zrangebylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<Vec<String>>
fn zrangebylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisResult<Vec<String>>
Source§fn zrangebylex_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisResult<Vec<String>>
fn zrangebylex_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, offset: isize, count: isize, ) -> RedisResult<Vec<String>>
Source§fn zrevrangebylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisResult<Vec<String>>
fn zrevrangebylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, ) -> RedisResult<Vec<String>>
Source§fn zrevrangebylex_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisResult<Vec<String>>
fn zrevrangebylex_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, offset: isize, count: isize, ) -> RedisResult<Vec<String>>
Source§fn zrangebyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<Vec<String>>
fn zrangebyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisResult<Vec<String>>
Source§fn zrangebyscore_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<Vec<(String, usize)>>
fn zrangebyscore_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisResult<Vec<(String, usize)>>
Source§fn zrangebyscore_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisResult<Vec<String>>
fn zrangebyscore_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, offset: isize, count: isize, ) -> RedisResult<Vec<String>>
Source§fn zrangebyscore_limit_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize,
) -> RedisResult<Vec<(String, usize)>>
fn zrangebyscore_limit_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, offset: isize, count: isize, ) -> RedisResult<Vec<(String, usize)>>
Source§fn zrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisResult<Option<usize>>
fn zrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisResult<Option<usize>>
Source§fn zrem<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisResult<usize>
fn zrem<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: M, ) -> RedisResult<usize>
Source§fn zrembylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<usize>
fn zrembylex<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisResult<usize>
Source§fn zremrangebyrank<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<usize>
fn zremrangebyrank<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisResult<usize>
Source§fn zrembyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
min: M,
max: MM,
) -> RedisResult<usize>
fn zrembyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, min: M, max: MM, ) -> RedisResult<usize>
Source§fn zrevrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<Vec<String>>
fn zrevrange<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisResult<Vec<String>>
Source§fn zrevrange_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
start: isize,
stop: isize,
) -> RedisResult<Vec<String>>
fn zrevrange_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, start: isize, stop: isize, ) -> RedisResult<Vec<String>>
Source§fn zrevrangebyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisResult<Vec<String>>
fn zrevrangebyscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, ) -> RedisResult<Vec<String>>
Source§fn zrevrangebyscore_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
) -> RedisResult<Vec<String>>
fn zrevrangebyscore_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, ) -> RedisResult<Vec<String>>
Source§fn zrevrangebyscore_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisResult<Vec<String>>
fn zrevrangebyscore_limit<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, offset: isize, count: isize, ) -> RedisResult<Vec<String>>
Source§fn zrevrangebyscore_limit_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize,
) -> RedisResult<Vec<String>>
fn zrevrangebyscore_limit_withscores<'a, K: ToSingleRedisArg + Send + Sync + 'a, MM: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, max: MM, min: M, offset: isize, count: isize, ) -> RedisResult<Vec<String>>
Source§fn zrevrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisResult<Option<usize>>
fn zrevrank<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisResult<Option<usize>>
Source§fn zscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
) -> RedisResult<Option<f64>>
fn zscore<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, ) -> RedisResult<Option<f64>>
Source§fn zscore_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: &'a [M],
) -> RedisResult<Option<Vec<f64>>>
fn zscore_multiple<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: &'a [M], ) -> RedisResult<Option<Vec<f64>>>
Source§fn zunionstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisResult<usize>
fn zunionstore<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisResult<usize>
Source§fn zunionstore_min<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisResult<usize>
fn zunionstore_min<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisResult<usize>
Source§fn zunionstore_max<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: K,
) -> RedisResult<usize>
fn zunionstore_max<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: K, ) -> RedisResult<usize>
Source§fn zunionstore_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisResult<usize>
fn zunionstore_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisResult<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: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisResult<usize>
fn zunionstore_min_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisResult<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: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
keys: &'a [(K, W)],
) -> RedisResult<usize>
fn zunionstore_max_weights<'a, D: ToSingleRedisArg + Send + Sync + 'a, K: ToRedisArgs + Send + Sync + 'a, W: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, keys: &'a [(K, W)], ) -> RedisResult<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: ToSingleRedisArg + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
element: E,
) -> RedisResult<bool>
fn pfadd<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, element: E, ) -> RedisResult<bool>
Source§fn pfcount<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<usize>
fn pfcount<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<usize>
Source§fn pfmerge<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
dstkey: D,
srckeys: S,
) -> RedisResult<()>
fn pfmerge<'a, D: ToSingleRedisArg + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, dstkey: D, srckeys: S, ) -> RedisResult<()>
Source§fn publish<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
channel: K,
message: E,
) -> RedisResult<usize>
fn publish<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, channel: K, message: E, ) -> RedisResult<usize>
Source§fn spublish<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
channel: K,
message: E,
) -> RedisResult<usize>
fn spublish<'a, K: ToSingleRedisArg + Send + Sync + 'a, E: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, channel: K, message: E, ) -> RedisResult<usize>
Source§fn object_encoding<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<Option<String>>
fn object_encoding<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<Option<String>>
Source§fn object_idletime<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<Option<usize>>
fn object_idletime<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<Option<usize>>
Source§fn object_freq<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<Option<usize>>
fn object_freq<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<Option<usize>>
Source§fn object_refcount<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<Option<usize>>
fn object_refcount<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<Option<usize>>
Source§fn client_getname<'a>(&'a mut self) -> RedisResult<Option<String>>
fn client_getname<'a>(&'a mut self) -> RedisResult<Option<String>>
Source§fn client_id<'a>(&'a mut self) -> RedisResult<isize>
fn client_id<'a>(&'a mut self) -> RedisResult<isize>
Source§fn client_setname<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
connection_name: K,
) -> RedisResult<()>
fn client_setname<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, connection_name: K, ) -> RedisResult<()>
Source§fn acl_load<'a>(&'a mut self) -> RedisResult<()>
fn acl_load<'a>(&'a mut self) -> RedisResult<()>
Source§fn acl_save<'a>(&'a mut self) -> RedisResult<()>
fn acl_save<'a>(&'a mut self) -> RedisResult<()>
Source§fn acl_list<'a>(&'a mut self) -> RedisResult<Vec<String>>
fn acl_list<'a>(&'a mut self) -> RedisResult<Vec<String>>
Source§fn acl_users<'a>(&'a mut self) -> RedisResult<Vec<String>>
fn acl_users<'a>(&'a mut self) -> RedisResult<Vec<String>>
Source§fn acl_getuser<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
username: K,
) -> RedisResult<Option<AclInfo>>
fn acl_getuser<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, username: K, ) -> RedisResult<Option<AclInfo>>
Source§fn acl_setuser<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
username: K,
) -> RedisResult<()>
fn acl_setuser<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, username: K, ) -> RedisResult<()>
Source§fn acl_setuser_rules<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
username: K,
rules: &'a [Rule],
) -> RedisResult<()>
fn acl_setuser_rules<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, username: K, rules: &'a [Rule], ) -> RedisResult<()>
Source§fn acl_deluser<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
usernames: &'a [K],
) -> RedisResult<usize>
fn acl_deluser<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, usernames: &'a [K], ) -> RedisResult<usize>
Source§fn acl_dryrun<'a, K: ToSingleRedisArg + Send + Sync + 'a, C: ToSingleRedisArg + Send + Sync + 'a, A: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
username: K,
command: C,
args: A,
) -> RedisResult<String>
fn acl_dryrun<'a, K: ToSingleRedisArg + Send + Sync + 'a, C: ToSingleRedisArg + Send + Sync + 'a, A: ToRedisArgs + Send + Sync + 'a>( &'a mut self, username: K, command: C, args: A, ) -> RedisResult<String>
Source§fn acl_cat<'a>(&'a mut self) -> RedisResult<HashSet<String>>
fn acl_cat<'a>(&'a mut self) -> RedisResult<HashSet<String>>
Source§fn acl_cat_categoryname<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
categoryname: K,
) -> RedisResult<HashSet<String>>
fn acl_cat_categoryname<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, categoryname: K, ) -> RedisResult<HashSet<String>>
Source§fn acl_genpass<'a>(&'a mut self) -> RedisResult<String>
fn acl_genpass<'a>(&'a mut self) -> RedisResult<String>
Source§fn acl_genpass_bits<'a>(&'a mut self, bits: isize) -> RedisResult<String>
fn acl_genpass_bits<'a>(&'a mut self, bits: isize) -> RedisResult<String>
Source§fn acl_whoami<'a>(&'a mut self) -> RedisResult<String>
fn acl_whoami<'a>(&'a mut self) -> RedisResult<String>
Source§fn acl_log<'a>(&'a mut self, count: isize) -> RedisResult<Vec<String>>
fn acl_log<'a>(&'a mut self, count: isize) -> RedisResult<Vec<String>>
Source§fn acl_log_reset<'a>(&'a mut self) -> RedisResult<()>
fn acl_log_reset<'a>(&'a mut self) -> RedisResult<()>
Source§fn acl_help<'a>(&'a mut self) -> RedisResult<Vec<String>>
fn acl_help<'a>(&'a mut self) -> RedisResult<Vec<String>>
Source§fn geo_add<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisResult<usize>
fn geo_add<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: M, ) -> RedisResult<usize>
Source§fn geo_dist<'a, K: ToSingleRedisArg + Send + Sync + 'a, M1: ToSingleRedisArg + Send + Sync + 'a, M2: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member1: M1,
member2: M2,
unit: Unit,
) -> RedisResult<Option<f64>>
fn geo_dist<'a, K: ToSingleRedisArg + Send + Sync + 'a, M1: ToSingleRedisArg + Send + Sync + 'a, M2: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member1: M1, member2: M2, unit: Unit, ) -> RedisResult<Option<f64>>
Source§fn geo_hash<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisResult<Vec<String>>
fn geo_hash<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: M, ) -> RedisResult<Vec<String>>
Source§fn geo_pos<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
members: M,
) -> RedisResult<Vec<Option<Coord<f64>>>>
fn geo_pos<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, members: M, ) -> RedisResult<Vec<Option<Coord<f64>>>>
Source§fn geo_radius<'a, K: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
longitude: f64,
latitude: f64,
radius: f64,
unit: Unit,
options: RadiusOptions,
) -> RedisResult<Vec<RadiusSearchResult>>
fn geo_radius<'a, K: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, longitude: f64, latitude: f64, radius: f64, unit: Unit, options: RadiusOptions, ) -> RedisResult<Vec<RadiusSearchResult>>
Source§fn geo_radius_by_member<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>(
&'a mut self,
key: K,
member: M,
radius: f64,
unit: Unit,
options: RadiusOptions,
) -> RedisResult<Vec<RadiusSearchResult>>
fn geo_radius_by_member<'a, K: ToSingleRedisArg + Send + Sync + 'a, M: ToSingleRedisArg + Send + Sync + 'a>( &'a mut self, key: K, member: M, radius: f64, unit: Unit, options: RadiusOptions, ) -> RedisResult<Vec<RadiusSearchResult>>
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],
) -> RedisResult<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], ) -> RedisResult<usize>
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)],
) -> RedisResult<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)], ) -> RedisResult<Option<String>>
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,
) -> RedisResult<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, ) -> RedisResult<Option<String>>
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,
) -> RedisResult<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, ) -> RedisResult<Option<String>>
Source§fn xadd_maxlen<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
maxlen: StreamMaxlen,
id: ID,
items: &'a [(F, V)],
) -> RedisResult<Option<String>>
fn xadd_maxlen<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, F: ToRedisArgs + Send + Sync + 'a, V: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, maxlen: StreamMaxlen, id: ID, items: &'a [(F, V)], ) -> RedisResult<Option<String>>
Source§fn xadd_maxlen_map<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, BTM: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
maxlen: StreamMaxlen,
id: ID,
map: BTM,
) -> RedisResult<Option<String>>
fn xadd_maxlen_map<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a, BTM: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, maxlen: StreamMaxlen, id: ID, map: BTM, ) -> RedisResult<Option<String>>
Source§fn xautoclaim_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
start: S,
options: StreamAutoClaimOptions,
) -> RedisResult<StreamAutoClaimReply>
fn xautoclaim_options<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, S: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, consumer: C, min_idle_time: MIT, start: S, options: StreamAutoClaimOptions, ) -> RedisResult<StreamAutoClaimReply>
Source§fn xclaim<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
ids: &'a [ID],
) -> RedisResult<StreamClaimReply>
fn xclaim<'a, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, consumer: C, min_idle_time: MIT, ids: &'a [ID], ) -> RedisResult<StreamClaimReply>
Source§fn xclaim_options<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
consumer: C,
min_idle_time: MIT,
ids: &'a [ID],
options: StreamClaimOptions,
) -> RedisResult<RV>
fn xclaim_options<'a, RV: FromRedisValue, K: ToSingleRedisArg + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, C: ToRedisArgs + Send + Sync + 'a, MIT: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, consumer: C, min_idle_time: MIT, ids: &'a [ID], options: StreamClaimOptions, ) -> RedisResult<RV>
Source§fn xdel<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
ids: &'a [ID],
) -> RedisResult<usize>
fn xdel<'a, K: ToSingleRedisArg + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ids: &'a [ID], ) -> RedisResult<usize>
Source§fn xdel_ex<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
ids: &'a [ID],
options: StreamDeletionPolicy,
) -> RedisResult<Vec<XDelExStatusCode>>
fn xdel_ex<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ids: &'a [ID], options: StreamDeletionPolicy, ) -> RedisResult<Vec<XDelExStatusCode>>
XDEL command that provides finer control over how message entries are deleted with respect to consumer groups.Source§fn xack_del<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
ids: &'a [ID],
options: StreamDeletionPolicy,
) -> RedisResult<Vec<XAckDelStatusCode>>
fn xack_del<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, ids: &'a [ID], options: StreamDeletionPolicy, ) -> RedisResult<Vec<XAckDelStatusCode>>
XACK and XDEL that acknowledges and attempts to delete a list of ids for a given stream key and consumer group.Source§fn xgroup_create<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
id: ID,
) -> RedisResult<()>
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, ) -> RedisResult<()>
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,
) -> RedisResult<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, ) -> RedisResult<bool>
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,
) -> RedisResult<()>
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, ) -> RedisResult<()>
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,
) -> RedisResult<()>
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, ) -> RedisResult<()>
Source§fn xgroup_destroy<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
) -> RedisResult<bool>
fn xgroup_destroy<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, ) -> RedisResult<bool>
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,
) -> RedisResult<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, ) -> RedisResult<usize>
Source§fn xinfo_consumers<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
) -> RedisResult<StreamInfoConsumersReply>
fn xinfo_consumers<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, ) -> RedisResult<StreamInfoConsumersReply>
group.
Take note of the StreamInfoConsumersReply return type. Read moreSource§fn xinfo_groups<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<StreamInfoGroupsReply>
fn xinfo_groups<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<StreamInfoGroupsReply>
groups created for a given stream key.
Take note of the StreamInfoGroupsReply return type. Read moreSource§fn xinfo_stream<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<StreamInfoStreamReply>
fn xinfo_stream<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<StreamInfoStreamReply>
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,
) -> RedisResult<usize>
fn xlen<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<usize>
key. Read moreSource§fn xpending<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
group: G,
) -> RedisResult<StreamPendingReply>
fn xpending<'a, K: ToRedisArgs + Send + Sync + 'a, G: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, group: G, ) -> RedisResult<StreamPendingReply>
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,
) -> RedisResult<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, ) -> RedisResult<StreamPendingCountReply>
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,
) -> RedisResult<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, ) -> RedisResult<StreamPendingCountReply>
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,
) -> RedisResult<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, ) -> RedisResult<StreamRangeReply>
key. Read moreSource§fn xrange_all<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<StreamRangeReply>
fn xrange_all<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<StreamRangeReply>
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,
) -> RedisResult<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, ) -> RedisResult<StreamRangeReply>
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],
) -> RedisResult<Option<StreamReadReply>>
fn xread<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>( &'a mut self, keys: &'a [K], ids: &'a [ID], ) -> RedisResult<Option<StreamReadReply>>
ids for each stream key.
This is the basic form of reading streams.
For more advanced control, like blocking, limiting, or reading by consumer group,
see xread_options. Read moreSource§fn xread_options<'a, K: ToRedisArgs + Send + Sync + 'a, ID: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
keys: &'a [K],
ids: &'a [ID],
options: &'a StreamReadOptions,
) -> RedisResult<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, ) -> RedisResult<Option<StreamReadReply>>
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,
) -> RedisResult<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, ) -> RedisResult<StreamRangeReply>
Source§fn xrevrange_all<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
) -> RedisResult<StreamRangeReply>
fn xrevrange_all<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, ) -> RedisResult<StreamRangeReply>
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,
) -> RedisResult<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, ) -> RedisResult<StreamRangeReply>
Source§fn xtrim<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
maxlen: StreamMaxlen,
) -> RedisResult<usize>
fn xtrim<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, maxlen: StreamMaxlen, ) -> RedisResult<usize>
key to a MAXLEN count. Read moreSource§fn xtrim_options<'a, K: ToRedisArgs + Send + Sync + 'a>(
&'a mut self,
key: K,
options: &'a StreamTrimOptions,
) -> RedisResult<usize>
fn xtrim_options<'a, K: ToRedisArgs + Send + Sync + 'a>( &'a mut self, key: K, options: &'a StreamTrimOptions, ) -> RedisResult<usize>
key with full options Read moreSource§fn load_script<'a, RV: FromRedisValue>(
&'a mut self,
script: &'a Script,
) -> RedisResult<RV>
fn load_script<'a, RV: FromRedisValue>( &'a mut self, script: &'a Script, ) -> RedisResult<RV>
Source§fn invoke_script<'a, RV: FromRedisValue>(
&'a mut self,
invocation: &'a ScriptInvocation<'a>,
) -> RedisResult<RV>
fn invoke_script<'a, RV: FromRedisValue>( &'a mut self, invocation: &'a ScriptInvocation<'a>, ) -> RedisResult<RV>
Source§fn flushall<'a>(&'a mut self) -> RedisResult<()>
fn flushall<'a>(&'a mut self) -> RedisResult<()>
Source§fn flushall_options<'a>(
&'a mut self,
options: &'a FlushAllOptions,
) -> RedisResult<()>
fn flushall_options<'a>( &'a mut self, options: &'a FlushAllOptions, ) -> RedisResult<()>
Source§fn flushdb<'a>(&'a mut self) -> RedisResult<()>
fn flushdb<'a>(&'a mut self) -> RedisResult<()>
Source§fn flushdb_options<'a>(
&'a mut self,
options: &'a FlushDbOptions,
) -> RedisResult<()>
fn flushdb_options<'a>( &'a mut self, options: &'a FlushDbOptions, ) -> RedisResult<()>
Source§fn scan<RV: FromRedisValue>(&mut self) -> RedisResult<Iter<'_, RV>>
fn scan<RV: FromRedisValue>(&mut self) -> RedisResult<Iter<'_, RV>>
Source§fn scan_options<RV: FromRedisValue>(
&mut self,
opts: ScanOptions,
) -> RedisResult<Iter<'_, RV>>
fn scan_options<RV: FromRedisValue>( &mut self, opts: ScanOptions, ) -> RedisResult<Iter<'_, RV>>
Source§fn scan_match<P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
pattern: P,
) -> RedisResult<Iter<'_, RV>>
fn scan_match<P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, pattern: P, ) -> RedisResult<Iter<'_, RV>>
Source§fn hscan<K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<Iter<'_, RV>>
fn hscan<K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<Iter<'_, RV>>
Source§fn hscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisResult<Iter<'_, RV>>
fn hscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisResult<Iter<'_, RV>>
Source§fn sscan<K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<Iter<'_, RV>>
fn sscan<K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<Iter<'_, RV>>
Source§fn sscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisResult<Iter<'_, RV>>
fn sscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisResult<Iter<'_, RV>>
Source§fn zscan<K: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
) -> RedisResult<Iter<'_, RV>>
fn zscan<K: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, ) -> RedisResult<Iter<'_, RV>>
Source§fn zscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>(
&mut self,
key: K,
pattern: P,
) -> RedisResult<Iter<'_, RV>>
fn zscan_match<K: ToSingleRedisArg, P: ToSingleRedisArg, RV: FromRedisValue>( &mut self, key: K, pattern: P, ) -> RedisResult<Iter<'_, RV>>
Source§fn get_int<K: ToSingleRedisArg>(&mut self, key: K) -> RedisResult<Option<isize>>
fn get_int<K: ToSingleRedisArg>(&mut self, key: K) -> RedisResult<Option<isize>>
Option<isize>.Source§fn mget_ints<K: ToRedisArgs>(
&mut self,
key: K,
) -> RedisResult<Vec<Option<isize>>>
fn mget_ints<K: ToRedisArgs>( &mut self, key: K, ) -> RedisResult<Vec<Option<isize>>>
Option<isize>s.