Struct bitbazaar::redis::RedisBatch
source · pub struct RedisBatch<'a, 'b, 'c, ReturnType> { /* private fields */ }Expand description
A command builder struct. Committed with RedisBatch::fire.
Batched commands are run in order, but other commands from different sources may be interleaved. Note each command may be run twice, if scripts needed caching to redis.
Implementations§
source§impl<'a, 'b, 'c, ReturnType> RedisBatch<'a, 'b, 'c, ReturnType>
impl<'a, 'b, 'c, ReturnType> RedisBatch<'a, 'b, 'c, ReturnType>
sourcepub fn script_no_return(self, script_invokation: RedisScriptInvoker<'c>) -> Self
pub fn script_no_return(self, script_invokation: RedisScriptInvoker<'c>) -> Self
Run an arbitrary redis (lua script). But discards any return value.
sourcepub fn expire(self, namespace: &str, key: &str, ttl: Duration) -> Self
pub fn expire(self, namespace: &str, key: &str, ttl: Duration) -> Self
Expire an existing key with a new/updated ttl.
https://redis.io/commands/pexpire/
sourcepub fn zadd(
self,
set_namespace: &str,
set_key: &str,
set_ttl: Option<Duration>,
score: i64,
value: impl ToRedisArgs,
) -> Self
pub fn zadd( self, set_namespace: &str, set_key: &str, set_ttl: Option<Duration>, score: i64, value: impl ToRedisArgs, ) -> Self
Add an entry to an ordered set (auto creating the set if it doesn’t exist). https://redis.io/commands/zadd/
Arguments:
set_namespace: The namespace of the set.set_key: The key of the set.set_ttl: The time to live of the set. This will reset on each addition, meaning after the last update the set will expire after this time.score: The score of the entry.value: The value of the entry. (values of sets must be strings)
sourcepub fn zrem<T: ToRedisArgs>(
self,
set_namespace: &str,
set_key: &str,
values: impl IntoIterator<Item = T>,
) -> Self
pub fn zrem<T: ToRedisArgs>( self, set_namespace: &str, set_key: &str, values: impl IntoIterator<Item = T>, ) -> Self
remove an entries from an ordered set. https://redis.io/commands/zrem/
Arguments:
set_namespace: The namespace of the set.set_key: The key of the set.values: The values to remove as an iterator.
sourcepub fn zadd_multi(
self,
set_namespace: &str,
set_key: &str,
set_ttl: Option<Duration>,
items: &[(i64, impl ToRedisArgs)],
) -> Self
pub fn zadd_multi( self, set_namespace: &str, set_key: &str, set_ttl: Option<Duration>, items: &[(i64, impl ToRedisArgs)], ) -> Self
Add multiple entries at once to an ordered set (auto creating the set if it doesn’t exist). https://redis.io/commands/zadd/
Arguments:
set_namespace: The namespace of the set.set_key: The key of the set.set_ttl: The time to live of the set. This will reset on each addition, meaning after the last update the set will expire after this time.items: The scores and values of the entries. (set values must be strings)
sourcepub fn zremrangebyscore(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
) -> Self
pub fn zremrangebyscore( self, set_namespace: &str, set_key: &str, min: i64, max: i64, ) -> Self
Remove entries from an ordered set by score range. (range is inclusive)
https://redis.io/commands/zremrangebyscore/
sourcepub fn set<T: ToRedisArgs>(
self,
namespace: &str,
key: &str,
value: T,
expiry: Option<Duration>,
) -> Self
pub fn set<T: ToRedisArgs>( self, namespace: &str, key: &str, value: T, expiry: Option<Duration>, ) -> Self
Set a key to a value with an optional expiry.
(expiry accurate to the millisecond)
sourcepub fn mset<Value: ToRedisArgs>(
self,
namespace: &str,
pairs: impl IntoIterator<Item = (impl AsRef<str>, Value)>,
expiry: Option<Duration>,
) -> Self
pub fn mset<Value: ToRedisArgs>( self, namespace: &str, pairs: impl IntoIterator<Item = (impl AsRef<str>, Value)>, expiry: Option<Duration>, ) -> Self
Set multiple values (MSET) of the same type at once. If expiry used will use a custom lua script to achieve the functionality.
(expiry accurate to the millisecond)
sourcepub fn clear<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self
pub fn clear<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self
Clear one or more keys.
sourcepub fn clear_namespace(self, namespace: &str) -> Self
pub fn clear_namespace(self, namespace: &str) -> Self
Clear all keys under a given namespace
Trait Implementations§
source§impl<'a, 'b, 'c> RedisBatchFire for RedisBatch<'a, 'b, 'c, ()>
impl<'a, 'b, 'c> RedisBatchFire for RedisBatch<'a, 'b, 'c, ()>
source§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B)>
source§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C)>
source§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D)>
§type ReturnType = (A, B, C, D)
type ReturnType = (A, B, C, D)
source§async fn fire(self) -> Option<(A, B, C, D)>
async fn fire(self) -> Option<(A, B, C, D)>
None will be returned and the error logged.source§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E)>
§type ReturnType = (A, B, C, D, E)
type ReturnType = (A, B, C, D, E)
source§async fn fire(self) -> Option<(A, B, C, D, E)>
async fn fire(self) -> Option<(A, B, C, D, E)>
None will be returned and the error logged.source§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F)>
§type ReturnType = (A, B, C, D, E, F)
type ReturnType = (A, B, C, D, E, F)
source§async fn fire(self) -> Option<(A, B, C, D, E, F)>
async fn fire(self) -> Option<(A, B, C, D, E, F)>
None will be returned and the error logged.source§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G)>
§type ReturnType = (A, B, C, D, E, F, G)
type ReturnType = (A, B, C, D, E, F, G)
source§async fn fire(self) -> Option<(A, B, C, D, E, F, G)>
async fn fire(self) -> Option<(A, B, C, D, E, F, G)>
None will be returned and the error logged.source§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H)>
§type ReturnType = (A, B, C, D, E, F, G, H)
type ReturnType = (A, B, C, D, E, F, G, H)
source§async fn fire(self) -> Option<(A, B, C, D, E, F, G, H)>
async fn fire(self) -> Option<(A, B, C, D, E, F, G, H)>
None will be returned and the error logged.source§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I)>
§type ReturnType = (A, B, C, D, E, F, G, H, I)
type ReturnType = (A, B, C, D, E, F, G, H, I)
source§async fn fire(self) -> Option<(A, B, C, D, E, F, G, H, I)>
async fn fire(self) -> Option<(A, B, C, D, E, F, G, H, I)>
None will be returned and the error logged.source§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue, J: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue, J: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J)>
§type ReturnType = (A, B, C, D, E, F, G, H, I, J)
type ReturnType = (A, B, C, D, E, F, G, H, I, J)
source§async fn fire(self) -> Option<(A, B, C, D, E, F, G, H, I, J)>
async fn fire(self) -> Option<(A, B, C, D, E, F, G, H, I, J)>
None will be returned and the error logged.source§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue, J: FromRedisValue, K: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, K)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue, J: FromRedisValue, K: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, K)>
§type ReturnType = (A, B, C, D, E, F, G, H, I, J, K)
type ReturnType = (A, B, C, D, E, F, G, H, I, J, K)
source§async fn fire(self) -> Option<(A, B, C, D, E, F, G, H, I, J, K)>
async fn fire(self) -> Option<(A, B, C, D, E, F, G, H, I, J, K)>
None will be returned and the error logged.source§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue, J: FromRedisValue, K: FromRedisValue, L: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, K, L)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue, J: FromRedisValue, K: FromRedisValue, L: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, K, L)>
§type ReturnType = (A, B, C, D, E, F, G, H, I, J, K, L)
type ReturnType = (A, B, C, D, E, F, G, H, I, J, K, L)
source§async fn fire(self) -> Option<(A, B, C, D, E, F, G, H, I, J, K, L)>
async fn fire(self) -> Option<(A, B, C, D, E, F, G, H, I, J, K, L)>
None will be returned and the error logged.source§impl<'a, 'b, 'c, R: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (R,)>
impl<'a, 'b, 'c, R: FromRedisValue> RedisBatchFire for RedisBatch<'a, 'b, 'c, (R,)>
source§impl<'a, 'b, 'c> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, ()>
impl<'a, 'b, 'c> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, ()>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (T,)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (T,)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§impl<'a, 'b, 'c, A: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A,)>
impl<'a, 'b, 'c, A: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A,)>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (A, T)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (A, T)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B)>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, T)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, T)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C)>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, T)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, T)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D)>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, T)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, T)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E)>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, T)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, T)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F)>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, T)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, T)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G)>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, T)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, T)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H)>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, T)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, T)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I)>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, T)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, T)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue, J: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue, J: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J)>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, T)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, T)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue, J: FromRedisValue, K: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, K)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue, J: FromRedisValue, K: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, K)>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, K, T)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, K, T)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue, J: FromRedisValue, K: FromRedisValue, L: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, K, L)>
impl<'a, 'b, 'c, A: FromRedisValue, B: FromRedisValue, C: FromRedisValue, D: FromRedisValue, E: FromRedisValue, F: FromRedisValue, G: FromRedisValue, H: FromRedisValue, I: FromRedisValue, J: FromRedisValue, K: FromRedisValue, L: FromRedisValue> RedisBatchReturningOps<'c> for RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, K, L)>
§type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, K, L, T)>
type NextType<T> = RedisBatch<'a, 'b, 'c, (A, B, C, D, E, F, G, H, I, J, K, L, T)>
source§fn script<ScriptOutput: FromRedisValue>(
self,
script_invokation: RedisScriptInvoker<'c>,
) -> Self::NextType<ScriptOutput>
fn script<ScriptOutput: FromRedisValue>( self, script_invokation: RedisScriptInvoker<'c>, ) -> Self::NextType<ScriptOutput>
source§fn mexists<'key>(
self,
namespace: &str,
keys: impl IntoIterator<Item = &'key str>,
) -> Self::NextType<Vec<bool>>
fn mexists<'key>( self, namespace: &str, keys: impl IntoIterator<Item = &'key str>, ) -> Self::NextType<Vec<bool>>
source§fn get<Value: FromRedisValue>(
self,
namespace: &str,
key: &str,
) -> Self::NextType<Option<Value>>
fn get<Value: FromRedisValue>( self, namespace: &str, key: &str, ) -> Self::NextType<Option<Value>>
None if the key doesn’t exist.source§fn mget<Value>(
self,
namespace: &str,
keys: impl IntoIterator<Item = impl AsRef<str>>,
) -> Self::NextType<Vec<Option<Value>>>
fn mget<Value>( self, namespace: &str, keys: impl IntoIterator<Item = impl AsRef<str>>, ) -> Self::NextType<Vec<Option<Value>>>
None for each key that didn’t exist.source§fn zrangebyscore_high_to_low<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_high_to_low<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moresource§fn zrangebyscore_low_to_high<Value: FromRedisValue>(
self,
set_namespace: &str,
set_key: &str,
min: i64,
max: i64,
limit: Option<isize>,
) -> Self::NextType<Vec<(Option<Value>, i64)>>
fn zrangebyscore_low_to_high<Value: FromRedisValue>( self, set_namespace: &str, set_key: &str, min: i64, max: i64, limit: Option<isize>, ) -> Self::NextType<Vec<(Option<Value>, i64)>>
None. Read moreAuto Trait Implementations§
impl<'a, 'b, 'c, ReturnType> Freeze for RedisBatch<'a, 'b, 'c, ReturnType>
impl<'a, 'b, 'c, ReturnType> !RefUnwindSafe for RedisBatch<'a, 'b, 'c, ReturnType>
impl<'a, 'b, 'c, ReturnType> Send for RedisBatch<'a, 'b, 'c, ReturnType>where
ReturnType: Send,
impl<'a, 'b, 'c, ReturnType> Sync for RedisBatch<'a, 'b, 'c, ReturnType>where
ReturnType: Sync,
impl<'a, 'b, 'c, ReturnType> Unpin for RedisBatch<'a, 'b, 'c, ReturnType>where
ReturnType: Unpin,
impl<'a, 'b, 'c, ReturnType> !UnwindSafe for RedisBatch<'a, 'b, 'c, ReturnType>
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> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request