[−][src]Struct redis::Pipeline
Represents a redis command pipeline.
Methods
impl Pipeline[src]
A pipeline allows you to send multiple commands in one go to the redis server. API wise it's very similar to just using a command but it allows multiple commands to be chained and some features such as iteration are not available.
Basic example:
let ((k1, k2),) : ((i32, i32),) = redis::pipe() .cmd("SET").arg("key_1").arg(42).ignore() .cmd("SET").arg("key_2").arg(43).ignore() .cmd("MGET").arg(&["key_1", "key_2"]).query(&mut con).unwrap();
As you can see with cmd you can start a new command. By default
each command produces a value but for some you can ignore them by
calling ignore on the command. That way it will be skipped in the
return value which is useful for SET commands and others, which
do not have a useful return value.
pub fn new() -> Pipeline[src]
Creates an empty pipeline. For consistency with the cmd
api a pipe function is provided as alias.
pub fn with_capacity(capacity: usize) -> Pipeline[src]
Creates an empty pipeline with pre-allocated capacity.
pub fn cmd(&mut self, name: &str) -> &mut Pipeline[src]
Starts a new command. Functions such as arg then become
available to add more arguments to that command.
pub fn add_command(&mut self, cmd: Cmd) -> &mut Pipeline[src]
Adds a command to the pipeline.
pub fn arg<T: ToRedisArgs>(&mut self, arg: T) -> &mut Pipeline[src]
Adds an argument to the last started command. This works similar
to the arg method of the Cmd object.
Note that this function fails the task if executed on an empty pipeline.
pub fn ignore(&mut self) -> &mut Pipeline[src]
Instructs the pipeline to ignore the return value of this command. It will still be ensured that it is not an error, but any successful result is just thrown away. This makes result processing through tuples much easier because you do not need to handle all the items you do not care about.
Note that this function fails the task if executed on an empty pipeline.
pub fn atomic(&mut self) -> &mut Pipeline[src]
This enables atomic mode. In atomic mode the whole pipeline is
enclosed in MULTI/EXEC. From the user's point of view nothing
changes however. This is easier than using MULTI/EXEC yourself
as the format does not change.
let (k1, k2) : (i32, i32) = redis::pipe() .atomic() .cmd("GET").arg("key_1") .cmd("GET").arg("key_2").query(&mut con).unwrap();
pub fn get_packed_pipeline(&self, atomic: bool) -> Vec<u8>[src]
Returns the encoded pipeline commands.
pub fn query<T: FromRedisValue>(
&self,
con: &mut dyn ConnectionLike
) -> RedisResult<T>[src]
&self,
con: &mut dyn ConnectionLike
) -> RedisResult<T>
Executes the pipeline and fetches the return values. Since most pipelines return different types it's recommended to use tuple matching to process the results:
let (k1, k2) : (i32, i32) = redis::pipe() .cmd("SET").arg("key_1").arg(42).ignore() .cmd("SET").arg("key_2").arg(43).ignore() .cmd("GET").arg("key_1") .cmd("GET").arg("key_2").query(&mut con).unwrap();
NOTE: A Pipeline object may be reused after query() with all the commands as were inserted
to them. In order to clear a Pipeline object with minimal memory released/allocated,
it is necessary to call the clear() before inserting new commands.
pub fn clear(&mut self)[src]
Clear a Pipeline object internal data structure.
This allows reusing a Pipeline object as a clear object while performing a minimal amount of memory released/reallocated.
pub fn query_async<C, T: FromRedisValue>(self, con: C) -> RedisFuture<(C, T)> where
C: ConnectionLike + Send + 'static,
T: Send + 'static, [src]
C: ConnectionLike + Send + 'static,
T: Send + 'static,
Async version of query.
pub fn execute(&self, con: &mut dyn ConnectionLike)[src]
This is a shortcut to query() that does not return a value and
will fail the task if the query of the pipeline fails.
This is equivalent to a call of query like this:
let _ : () = redis::pipe().cmd("PING").query(&mut con).unwrap();
NOTE: A Pipeline object may be reused after query() with all the commands as were inserted
to them. In order to clear a Pipeline object with minimal memory released/allocated,
it is necessary to call the clear() before inserting new commands.
Trait Implementations
impl PipelineCommands for Pipeline[src]
fn perform(&mut self, cmd: Cmd) -> &mut Pipeline[src]
fn get<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn keys<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn set<K: ToRedisArgs, V: ToRedisArgs>(&mut self, key: K, value: V) -> &mut Self[src]
fn set_multiple<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
items: &[(K, V)]
) -> &mut Self[src]
&mut self,
items: &[(K, V)]
) -> &mut Self
fn set_ex<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
value: V,
seconds: usize
) -> &mut Self[src]
&mut self,
key: K,
value: V,
seconds: usize
) -> &mut Self
fn set_nx<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
value: V
) -> &mut Self[src]
&mut self,
key: K,
value: V
) -> &mut Self
fn mset_nx<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
items: &[(K, V)]
) -> &mut Self[src]
&mut self,
items: &[(K, V)]
) -> &mut Self
fn getset<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
value: V
) -> &mut Self[src]
&mut self,
key: K,
value: V
) -> &mut Self
fn getrange<K: ToRedisArgs>(
&mut self,
key: K,
from: isize,
to: isize
) -> &mut Self[src]
&mut self,
key: K,
from: isize,
to: isize
) -> &mut Self
fn setrange<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
offset: isize,
value: V
) -> &mut Self[src]
&mut self,
key: K,
offset: isize,
value: V
) -> &mut Self
fn del<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn exists<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn expire<K: ToRedisArgs>(&mut self, key: K, seconds: usize) -> &mut Self[src]
fn expire_at<K: ToRedisArgs>(&mut self, key: K, ts: usize) -> &mut Self[src]
fn pexpire<K: ToRedisArgs>(&mut self, key: K, ms: usize) -> &mut Self[src]
fn pexpire_at<K: ToRedisArgs>(&mut self, key: K, ts: usize) -> &mut Self[src]
fn persist<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn ttl<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn rename<K: ToRedisArgs>(&mut self, key: K, new_key: K) -> &mut Self[src]
fn rename_nx<K: ToRedisArgs>(&mut self, key: K, new_key: K) -> &mut Self[src]
fn append<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
value: V
) -> &mut Self[src]
&mut self,
key: K,
value: V
) -> &mut Self
fn incr<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
delta: V
) -> &mut Self[src]
&mut self,
key: K,
delta: V
) -> &mut Self
fn setbit<K: ToRedisArgs>(
&mut self,
key: K,
offset: usize,
value: bool
) -> &mut Self[src]
&mut self,
key: K,
offset: usize,
value: bool
) -> &mut Self
fn getbit<K: ToRedisArgs>(&mut self, key: K, offset: usize) -> &mut Self[src]
fn bitcount<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn bitcount_range<K: ToRedisArgs>(
&mut self,
key: K,
start: usize,
end: usize
) -> &mut Self[src]
&mut self,
key: K,
start: usize,
end: usize
) -> &mut Self
fn bit_and<K: ToRedisArgs>(&mut self, dstkey: K, srckeys: K) -> &mut Self[src]
fn bit_or<K: ToRedisArgs>(&mut self, dstkey: K, srckeys: K) -> &mut Self[src]
fn bit_xor<K: ToRedisArgs>(&mut self, dstkey: K, srckeys: K) -> &mut Self[src]
fn bit_not<K: ToRedisArgs>(&mut self, dstkey: K, srckey: K) -> &mut Self[src]
fn strlen<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn hget<K: ToRedisArgs, F: ToRedisArgs>(
&mut self,
key: K,
field: F
) -> &mut Self[src]
&mut self,
key: K,
field: F
) -> &mut Self
fn hdel<K: ToRedisArgs, F: ToRedisArgs>(
&mut self,
key: K,
field: F
) -> &mut Self[src]
&mut self,
key: K,
field: F
) -> &mut Self
fn hset<K: ToRedisArgs, F: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
field: F,
value: V
) -> &mut Self[src]
&mut self,
key: K,
field: F,
value: V
) -> &mut Self
fn hset_nx<K: ToRedisArgs, F: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
field: F,
value: V
) -> &mut Self[src]
&mut self,
key: K,
field: F,
value: V
) -> &mut Self
fn hset_multiple<K: ToRedisArgs, F: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
items: &[(F, V)]
) -> &mut Self[src]
&mut self,
key: K,
items: &[(F, V)]
) -> &mut Self
fn hincr<K: ToRedisArgs, F: ToRedisArgs, D: ToRedisArgs>(
&mut self,
key: K,
field: F,
delta: D
) -> &mut Self[src]
&mut self,
key: K,
field: F,
delta: D
) -> &mut Self
fn hexists<K: ToRedisArgs, F: ToRedisArgs>(
&mut self,
key: K,
field: F
) -> &mut Self[src]
&mut self,
key: K,
field: F
) -> &mut Self
fn hkeys<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn hvals<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn hgetall<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn hlen<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn blpop<K: ToRedisArgs>(&mut self, key: K, timeout: usize) -> &mut Self[src]
fn brpop<K: ToRedisArgs>(&mut self, key: K, timeout: usize) -> &mut Self[src]
fn brpoplpush<K: ToRedisArgs>(
&mut self,
srckey: K,
dstkey: K,
timeout: usize
) -> &mut Self[src]
&mut self,
srckey: K,
dstkey: K,
timeout: usize
) -> &mut Self
fn lindex<K: ToRedisArgs>(&mut self, key: K, index: isize) -> &mut Self[src]
fn linsert_before<K: ToRedisArgs, P: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
pivot: P,
value: V
) -> &mut Self[src]
&mut self,
key: K,
pivot: P,
value: V
) -> &mut Self
fn linsert_after<K: ToRedisArgs, P: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
pivot: P,
value: V
) -> &mut Self[src]
&mut self,
key: K,
pivot: P,
value: V
) -> &mut Self
fn llen<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn lpop<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn lpush<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
value: V
) -> &mut Self[src]
&mut self,
key: K,
value: V
) -> &mut Self
fn lpush_exists<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
value: V
) -> &mut Self[src]
&mut self,
key: K,
value: V
) -> &mut Self
fn lrange<K: ToRedisArgs>(
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self[src]
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self
fn lrem<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
count: isize,
value: V
) -> &mut Self[src]
&mut self,
key: K,
count: isize,
value: V
) -> &mut Self
fn ltrim<K: ToRedisArgs>(
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self[src]
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self
fn lset<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
index: isize,
value: V
) -> &mut Self[src]
&mut self,
key: K,
index: isize,
value: V
) -> &mut Self
fn rpop<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn rpoplpush<K: ToRedisArgs>(&mut self, key: K, dstkey: K) -> &mut Self[src]
fn rpush<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
value: V
) -> &mut Self[src]
&mut self,
key: K,
value: V
) -> &mut Self
fn rpush_exists<K: ToRedisArgs, V: ToRedisArgs>(
&mut self,
key: K,
value: V
) -> &mut Self[src]
&mut self,
key: K,
value: V
) -> &mut Self
fn sadd<K: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
member: M
) -> &mut Self[src]
&mut self,
key: K,
member: M
) -> &mut Self
fn scard<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn sdiff<K: ToRedisArgs>(&mut self, keys: K) -> &mut Self[src]
fn sdiffstore<K: ToRedisArgs>(&mut self, dstkey: K, keys: K) -> &mut Self[src]
fn sinter<K: ToRedisArgs>(&mut self, keys: K) -> &mut Self[src]
fn sinterstore<K: ToRedisArgs>(&mut self, dstkey: K, keys: K) -> &mut Self[src]
fn sismember<K: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
member: M
) -> &mut Self[src]
&mut self,
key: K,
member: M
) -> &mut Self
fn smembers<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn smove<K: ToRedisArgs, M: ToRedisArgs>(
&mut self,
srckey: K,
dstkey: K,
member: M
) -> &mut Self[src]
&mut self,
srckey: K,
dstkey: K,
member: M
) -> &mut Self
fn spop<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn srandmember<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn srandmember_multiple<K: ToRedisArgs>(
&mut self,
key: K,
count: usize
) -> &mut Self[src]
&mut self,
key: K,
count: usize
) -> &mut Self
fn srem<K: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
member: M
) -> &mut Self[src]
&mut self,
key: K,
member: M
) -> &mut Self
fn sunion<K: ToRedisArgs>(&mut self, keys: K) -> &mut Self[src]
fn sunionstore<K: ToRedisArgs>(&mut self, dstkey: K, keys: K) -> &mut Self[src]
fn zadd<K: ToRedisArgs, S: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
member: M,
score: S
) -> &mut Self[src]
&mut self,
key: K,
member: M,
score: S
) -> &mut Self
fn zadd_multiple<K: ToRedisArgs, S: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
items: &[(S, M)]
) -> &mut Self[src]
&mut self,
key: K,
items: &[(S, M)]
) -> &mut Self
fn zcard<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn zcount<K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs>(
&mut self,
key: K,
min: M,
max: MM
) -> &mut Self[src]
&mut self,
key: K,
min: M,
max: MM
) -> &mut Self
fn zincr<K: ToRedisArgs, M: ToRedisArgs, D: ToRedisArgs>(
&mut self,
key: K,
member: M,
delta: D
) -> &mut Self[src]
&mut self,
key: K,
member: M,
delta: D
) -> &mut Self
fn zinterstore<K: ToRedisArgs>(&mut self, dstkey: K, keys: &[K]) -> &mut Self[src]
fn zinterstore_min<K: ToRedisArgs>(
&mut self,
dstkey: K,
keys: &[K]
) -> &mut Self[src]
&mut self,
dstkey: K,
keys: &[K]
) -> &mut Self
fn zinterstore_max<K: ToRedisArgs>(
&mut self,
dstkey: K,
keys: &[K]
) -> &mut Self[src]
&mut self,
dstkey: K,
keys: &[K]
) -> &mut Self
fn zlexcount<K: ToRedisArgs, L: ToRedisArgs>(
&mut self,
key: K,
min: L,
max: L
) -> &mut Self[src]
&mut self,
key: K,
min: L,
max: L
) -> &mut Self
fn zrange<K: ToRedisArgs>(
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self[src]
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self
fn zrange_withscores<K: ToRedisArgs>(
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self[src]
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self
fn zrangebylex<K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs>(
&mut self,
key: K,
min: M,
max: MM
) -> &mut Self[src]
&mut self,
key: K,
min: M,
max: MM
) -> &mut Self
fn zrangebylex_limit<K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs>(
&mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize
) -> &mut Self[src]
&mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize
) -> &mut Self
fn zrevrangebylex<K: ToRedisArgs, MM: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
max: MM,
min: M
) -> &mut Self[src]
&mut self,
key: K,
max: MM,
min: M
) -> &mut Self
fn zrevrangebylex_limit<K: ToRedisArgs, MM: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize
) -> &mut Self[src]
&mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize
) -> &mut Self
fn zrangebyscore<K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs>(
&mut self,
key: K,
min: M,
max: MM
) -> &mut Self[src]
&mut self,
key: K,
min: M,
max: MM
) -> &mut Self
fn zrangebyscore_withscores<K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs>(
&mut self,
key: K,
min: M,
max: MM
) -> &mut Self[src]
&mut self,
key: K,
min: M,
max: MM
) -> &mut Self
fn zrangebyscore_limit<K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs>(
&mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize
) -> &mut Self[src]
&mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize
) -> &mut Self
fn zrangebyscore_limit_withscores<K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs>(
&mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize
) -> &mut Self[src]
&mut self,
key: K,
min: M,
max: MM,
offset: isize,
count: isize
) -> &mut Self
fn zrank<K: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
member: M
) -> &mut Self[src]
&mut self,
key: K,
member: M
) -> &mut Self
fn zrem<K: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
members: M
) -> &mut Self[src]
&mut self,
key: K,
members: M
) -> &mut Self
fn zrembylex<K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs>(
&mut self,
key: K,
min: M,
max: MM
) -> &mut Self[src]
&mut self,
key: K,
min: M,
max: MM
) -> &mut Self
fn zrembyrank<K: ToRedisArgs>(
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self[src]
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self
fn zrembyscore<K: ToRedisArgs, M: ToRedisArgs, MM: ToRedisArgs>(
&mut self,
key: K,
min: M,
max: MM
) -> &mut Self[src]
&mut self,
key: K,
min: M,
max: MM
) -> &mut Self
fn zrevrange<K: ToRedisArgs>(
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self[src]
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self
fn zrevrange_withscores<K: ToRedisArgs>(
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self[src]
&mut self,
key: K,
start: isize,
stop: isize
) -> &mut Self
fn zrevrangebyscore<K: ToRedisArgs, MM: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
max: MM,
min: M
) -> &mut Self[src]
&mut self,
key: K,
max: MM,
min: M
) -> &mut Self
fn zrevrangebyscore_withscores<K: ToRedisArgs, MM: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
max: MM,
min: M
) -> &mut Self[src]
&mut self,
key: K,
max: MM,
min: M
) -> &mut Self
fn zrevrangebyscore_limit<K: ToRedisArgs, MM: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize
) -> &mut Self[src]
&mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize
) -> &mut Self
fn zrevrangebyscore_limit_withscores<K: ToRedisArgs, MM: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize
) -> &mut Self[src]
&mut self,
key: K,
max: MM,
min: M,
offset: isize,
count: isize
) -> &mut Self
fn zrevrank<K: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
member: M
) -> &mut Self[src]
&mut self,
key: K,
member: M
) -> &mut Self
fn zscore<K: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
member: M
) -> &mut Self[src]
&mut self,
key: K,
member: M
) -> &mut Self
fn zunionstore<K: ToRedisArgs>(&mut self, dstkey: K, keys: &[K]) -> &mut Self[src]
fn zunionstore_min<K: ToRedisArgs>(
&mut self,
dstkey: K,
keys: &[K]
) -> &mut Self[src]
&mut self,
dstkey: K,
keys: &[K]
) -> &mut Self
fn zunionstore_max<K: ToRedisArgs>(
&mut self,
dstkey: K,
keys: &[K]
) -> &mut Self[src]
&mut self,
dstkey: K,
keys: &[K]
) -> &mut Self
fn pfadd<K: ToRedisArgs, E: ToRedisArgs>(
&mut self,
key: K,
element: E
) -> &mut Self[src]
&mut self,
key: K,
element: E
) -> &mut Self
fn pfcount<K: ToRedisArgs>(&mut self, key: K) -> &mut Self[src]
fn pfmerge<K: ToRedisArgs>(&mut self, dstkey: K, srckeys: K) -> &mut Self[src]
fn publish<K: ToRedisArgs, E: ToRedisArgs>(
&mut self,
channel: K,
message: E
) -> &mut Self[src]
&mut self,
channel: K,
message: E
) -> &mut Self
fn geo_add<K: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
members: M
) -> &mut Self[src]
&mut self,
key: K,
members: M
) -> &mut Self
fn geo_dist<K: ToRedisArgs, M1: ToRedisArgs, M2: ToRedisArgs>(
&mut self,
key: K,
member1: M1,
member2: M2,
unit: Unit
) -> &mut Self[src]
&mut self,
key: K,
member1: M1,
member2: M2,
unit: Unit
) -> &mut Self
fn geo_hash<K: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
members: M
) -> &mut Self[src]
&mut self,
key: K,
members: M
) -> &mut Self
fn geo_pos<K: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
members: M
) -> &mut Self[src]
&mut self,
key: K,
members: M
) -> &mut Self
fn geo_radius<K: ToRedisArgs>(
&mut self,
key: K,
longitude: f64,
latitude: f64,
radius: f64,
unit: Unit,
options: RadiusOptions
) -> &mut Self[src]
&mut self,
key: K,
longitude: f64,
latitude: f64,
radius: f64,
unit: Unit,
options: RadiusOptions
) -> &mut Self
fn geo_radius_by_member<K: ToRedisArgs, M: ToRedisArgs>(
&mut self,
key: K,
member: M,
radius: f64,
unit: Unit,
options: RadiusOptions
) -> &mut Self[src]
&mut self,
key: K,
member: M,
radius: f64,
unit: Unit,
options: RadiusOptions
) -> &mut Self
impl Clone for Pipeline[src]
impl Default for Pipeline[src]
Auto Trait Implementations
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl UnwindSafe for Pipeline
impl RefUnwindSafe for Pipeline
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,