pub struct Pipeline<'a> { /* private fields */ }Expand description
Represents a Redis command pipeline.
Implementations§
Source§impl Pipeline<'_>
impl Pipeline<'_>
pub fn reserve(&mut self, additional: usize)
Sourcepub fn retry_on_error(&mut self, retry_on_error: bool)
pub fn retry_on_error(&mut self, retry_on_error: bool)
Set a flag to override default retry_on_error behavior.
Sourcepub fn queue_command(&mut self, command: impl Into<Command>)
pub fn queue_command(&mut self, command: impl Into<Command>)
Queue a command built with the generic API.
Built-in commands use BatchPreparedCommand::queue instead:
pipeline.get::<()>("k").queue(). The names differ because the calls do:
this one takes a command, that one consumes a prepared command.
Sourcepub fn forget_command(&mut self, command: impl Into<Command>)
pub fn forget_command(&mut self, command: impl Into<Command>)
Queue a command built with the generic API and forget its response.
See Self::queue_command for why the name differs from
BatchPreparedCommand::forget.
Sourcepub async fn execute<T: DeserializeOwned>(self) -> Result<T>
pub async fn execute<T: DeserializeOwned>(self) -> Result<T>
Execute the pipeline by the sending the queued command as a whole batch to the Redis server.
§Return
It is the caller’s responsibility to use the right type to cast the server response to the right tuple or collection depending on which command has been queued or forgotten.
The most generic type that can be requested as a result is Vec<resp::Value>
§Example
use rustis::{
client::{Client, Pipeline, BatchPreparedCommand},
commands::StringCommands,
resp::{cmd, Value}, Result,
};
#[tokio::main]
async fn main() -> Result<()> {
let client = Client::connect("127.0.0.1:6379").await?;
let mut pipeline = client.create_pipeline();
pipeline.set("key1", "value1").forget();
pipeline.set("key2", "value2").forget();
pipeline.get::<()>("key1").queue();
pipeline.get::<()>("key2").queue();
let (value1, value2): (String, String) = pipeline.execute().await?;
assert_eq!("value1", value1);
assert_eq!("value2", value2);
Ok(())
}Trait Implementations§
Source§impl<'a> ArrayCommands<'a> for &'a mut Pipeline<'_>
impl<'a> ArrayCommands<'a> for &'a mut Pipeline<'_>
Source§fn arcount(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
fn arcount(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
Source§fn ardel(
self,
key: impl Serialize,
indices: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn ardel( self, key: impl Serialize, indices: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn ardelrange(
self,
key: impl Serialize,
ranges: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn ardelrange( self, key: impl Serialize, ranges: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
(start, end) ranges. Read moreSource§fn arget<R: DeserializeOwned>(
self,
key: impl Serialize,
index: usize,
) -> PreparedCommand<'a, Self, R>
fn arget<R: DeserializeOwned>( self, key: impl Serialize, index: usize, ) -> PreparedCommand<'a, Self, R>
Source§fn argetrange<R: DeserializeOwned>(
self,
key: impl Serialize,
start: usize,
end: usize,
) -> PreparedCommand<'a, Self, R>
fn argetrange<R: DeserializeOwned>( self, key: impl Serialize, start: usize, end: usize, ) -> PreparedCommand<'a, Self, R>
[start, end]. Read moreSource§fn argrep<R: DeserializeOwned>(
self,
key: impl Serialize,
start: impl Serialize,
end: impl Serialize,
options: ArGrep<'_>,
) -> PreparedCommand<'a, Self, R>
fn argrep<R: DeserializeOwned>( self, key: impl Serialize, start: impl Serialize, end: impl Serialize, options: ArGrep<'_>, ) -> PreparedCommand<'a, Self, R>
Source§fn arinfo(
self,
key: impl Serialize,
options: ArInfoOptions,
) -> PreparedCommand<'a, Self, ArrayInfo>
fn arinfo( self, key: impl Serialize, options: ArInfoOptions, ) -> PreparedCommand<'a, Self, ArrayInfo>
Source§fn arinsert(
self,
key: impl Serialize,
values: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn arinsert( self, key: impl Serialize, values: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn arlastitems<R: DeserializeOwned>(
self,
key: impl Serialize,
count: usize,
options: ArLastItemsOptions,
) -> PreparedCommand<'a, Self, R>
fn arlastitems<R: DeserializeOwned>( self, key: impl Serialize, count: usize, options: ArLastItemsOptions, ) -> PreparedCommand<'a, Self, R>
count most recently inserted elements. Read moreSource§fn arlen(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
fn arlen(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
Source§fn armget<R: DeserializeOwned>(
self,
key: impl Serialize,
indices: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn armget<R: DeserializeOwned>( self, key: impl Serialize, indices: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn armset(
self,
key: impl Serialize,
items: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn armset( self, key: impl Serialize, items: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
(index, value) pairs at once. The pairs need not be
contiguous nor ordered. Read moreSource§fn arop<R: DeserializeOwned>(
self,
key: impl Serialize,
start: usize,
end: usize,
operation: ArOperation<'_>,
) -> PreparedCommand<'a, Self, R>
fn arop<R: DeserializeOwned>( self, key: impl Serialize, start: usize, end: usize, operation: ArOperation<'_>, ) -> PreparedCommand<'a, Self, R>
[start, end]. Read moreSource§fn arring(
self,
key: impl Serialize,
size: usize,
values: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn arring( self, key: impl Serialize, size: usize, values: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
size slots. Read moreSource§fn arscan<R: DeserializeOwned>(
self,
key: impl Serialize,
start: usize,
end: usize,
limit: impl Into<Option<usize>>,
) -> PreparedCommand<'a, Self, R>
fn arscan<R: DeserializeOwned>( self, key: impl Serialize, start: usize, end: usize, limit: impl Into<Option<usize>>, ) -> PreparedCommand<'a, Self, R>
[start, end]. Read moreSource§impl<'a> BitmapCommands<'a> for &'a mut Pipeline<'_>
impl<'a> BitmapCommands<'a> for &'a mut Pipeline<'_>
Source§fn bitcount(
self,
key: impl Serialize,
range: BitRange,
) -> PreparedCommand<'a, Self, usize>
fn bitcount( self, key: impl Serialize, range: BitRange, ) -> PreparedCommand<'a, Self, usize>
Source§fn bitfield<'b>(
self,
key: impl Serialize,
sub_commands: impl IntoIterator<Item = BitFieldSubCommand<'b>> + Serialize,
) -> PreparedCommand<'a, Self, Vec<u64>>
fn bitfield<'b>( self, key: impl Serialize, sub_commands: impl IntoIterator<Item = BitFieldSubCommand<'b>> + Serialize, ) -> PreparedCommand<'a, Self, Vec<u64>>
Source§fn bitfield_readonly<'b>(
self,
key: impl Serialize,
sub_commands: impl IntoIterator<Item = BitFieldSubCommand<'b>> + Serialize,
) -> PreparedCommand<'a, Self, Vec<u64>>
fn bitfield_readonly<'b>( self, key: impl Serialize, sub_commands: impl IntoIterator<Item = BitFieldSubCommand<'b>> + Serialize, ) -> PreparedCommand<'a, Self, Vec<u64>>
Source§fn bitop(
self,
operation: BitOperation,
dest_key: impl Serialize,
keys: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn bitop( self, operation: BitOperation, dest_key: impl Serialize, keys: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn bitpos(
self,
key: impl Serialize,
bit: u64,
range: BitRange,
) -> PreparedCommand<'a, Self, usize>
fn bitpos( self, key: impl Serialize, bit: u64, range: BitRange, ) -> PreparedCommand<'a, Self, usize>
Source§impl<'a> BloomCommands<'a> for &'a mut Pipeline<'_>
impl<'a> BloomCommands<'a> for &'a mut Pipeline<'_>
Source§fn bf_add(
self,
key: impl Serialize,
item: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn bf_add( self, key: impl Serialize, item: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn bf_exists(
self,
key: impl Serialize,
item: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn bf_exists( self, key: impl Serialize, item: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn bf_card(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
fn bf_card(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
Source§fn bf_info_all(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, BfInfoResult>
fn bf_info_all( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, BfInfoResult>
Source§fn bf_info<R: DeserializeOwned>(
self,
key: impl Serialize,
param: BfInfoParameter,
) -> PreparedCommand<'a, Self, R>
fn bf_info<R: DeserializeOwned>( self, key: impl Serialize, param: BfInfoParameter, ) -> PreparedCommand<'a, Self, R>
Source§fn bf_insert<R: DeserializeOwned>(
self,
key: impl Serialize,
items: impl Serialize,
options: BfInsertOptions,
) -> PreparedCommand<'a, Self, R>
fn bf_insert<R: DeserializeOwned>( self, key: impl Serialize, items: impl Serialize, options: BfInsertOptions, ) -> PreparedCommand<'a, Self, R>
Source§fn bf_loadchunk(
self,
key: impl Serialize,
iterator: i64,
data: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn bf_loadchunk( self, key: impl Serialize, iterator: i64, data: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
bf_scandump. Read moreSource§fn bf_madd<R: DeserializeOwned>(
self,
key: impl Serialize,
items: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn bf_madd<R: DeserializeOwned>( self, key: impl Serialize, items: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn bf_mexists<R: DeserializeOwned>(
self,
key: impl Serialize,
items: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn bf_mexists<R: DeserializeOwned>( self, key: impl Serialize, items: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn bf_reserve(
self,
key: impl Serialize,
error_rate: f64,
capacity: usize,
options: BfReserveOptions,
) -> PreparedCommand<'a, Self, ()>
fn bf_reserve( self, key: impl Serialize, error_rate: f64, capacity: usize, options: BfReserveOptions, ) -> PreparedCommand<'a, Self, ()>
Source§fn bf_scandump(
self,
key: impl Serialize,
iterator: i64,
) -> PreparedCommand<'a, Self, BfScanDumpResult>
fn bf_scandump( self, key: impl Serialize, iterator: i64, ) -> PreparedCommand<'a, Self, BfScanDumpResult>
Source§impl<'a> ClusterCommands<'a> for &'a mut Pipeline<'_>
impl<'a> ClusterCommands<'a> for &'a mut Pipeline<'_>
Source§fn cluster_addslots(
self,
slots: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn cluster_addslots( self, slots: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn cluster_addslotsrange(
self,
slots: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn cluster_addslotsrange( self, slots: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
cluster_addslots
command in that they both assign hash slots to nodes. Read moreSource§fn cluster_bumpepoch(self) -> PreparedCommand<'a, Self, ClusterBumpEpochResult>
fn cluster_bumpepoch(self) -> PreparedCommand<'a, Self, ClusterBumpEpochResult>
Source§fn cluster_count_failure_reports(
self,
node_id: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn cluster_count_failure_reports( self, node_id: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn cluster_countkeysinslot(
self,
slot: usize,
) -> PreparedCommand<'a, Self, usize>
fn cluster_countkeysinslot( self, slot: usize, ) -> PreparedCommand<'a, Self, usize>
Source§fn cluster_delslots(
self,
slots: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn cluster_delslots( self, slots: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn cluster_delslotsrange(
self,
slots: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn cluster_delslotsrange( self, slots: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
cluster_delslotsrange
command in that they both remove hash slots from the node. Read moreSource§fn cluster_failover(
self,
option: Option<ClusterFailoverOption>,
) -> PreparedCommand<'a, Self, ()>
fn cluster_failover( self, option: Option<ClusterFailoverOption>, ) -> PreparedCommand<'a, Self, ()>
Source§fn cluster_flushslots(self) -> PreparedCommand<'a, Self, ()>
fn cluster_flushslots(self) -> PreparedCommand<'a, Self, ()>
Source§fn cluster_forget(
self,
node_id: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn cluster_forget( self, node_id: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn cluster_getkeysinslot<R: DeserializeOwned>(
self,
slot: u16,
count: usize,
) -> PreparedCommand<'a, Self, R>
fn cluster_getkeysinslot<R: DeserializeOwned>( self, slot: u16, count: usize, ) -> PreparedCommand<'a, Self, R>
Source§fn cluster_info(self) -> PreparedCommand<'a, Self, ClusterInfo>
fn cluster_info(self) -> PreparedCommand<'a, Self, ClusterInfo>
Source§fn cluster_keyslot(self, key: impl Serialize) -> PreparedCommand<'a, Self, u16>
fn cluster_keyslot(self, key: impl Serialize) -> PreparedCommand<'a, Self, u16>
Source§fn cluster_links<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn cluster_links<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn cluster_meet(
self,
ip: impl Serialize,
port: u16,
cluster_bus_port: Option<u16>,
) -> PreparedCommand<'a, Self, ()>
fn cluster_meet( self, ip: impl Serialize, port: u16, cluster_bus_port: Option<u16>, ) -> PreparedCommand<'a, Self, ()>
Source§fn cluster_myid<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn cluster_myid<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn cluster_myshardid<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn cluster_myshardid<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn cluster_nodes<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn cluster_nodes<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn cluster_replicas<R: DeserializeOwned>(
self,
node_id: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn cluster_replicas<R: DeserializeOwned>( self, node_id: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn cluster_replicate(
self,
node_id: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn cluster_replicate( self, node_id: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn cluster_reset(
self,
reset_type: ClusterResetType,
) -> PreparedCommand<'a, Self, ()>
fn cluster_reset( self, reset_type: ClusterResetType, ) -> PreparedCommand<'a, Self, ()>
Source§fn cluster_saveconfig(self) -> PreparedCommand<'a, Self, ()>
fn cluster_saveconfig(self) -> PreparedCommand<'a, Self, ()>
fsync(2) in order to make sure the configuration is flushed on the computer disk. Read moreSource§fn cluster_set_config_epoch(
self,
config_epoch: u64,
) -> PreparedCommand<'a, Self, ()>
fn cluster_set_config_epoch( self, config_epoch: u64, ) -> PreparedCommand<'a, Self, ()>
Source§fn cluster_setslot(
self,
slot: u16,
subcommand: ClusterSetSlotSubCommand<'_>,
) -> PreparedCommand<'a, Self, ()>
fn cluster_setslot( self, slot: u16, subcommand: ClusterSetSlotSubCommand<'_>, ) -> PreparedCommand<'a, Self, ()>
Source§fn cluster_shards<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn cluster_shards<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn cluster_slot_stats<R: DeserializeOwned>(
self,
filter: ClusterSlotStatsFilter,
) -> PreparedCommand<'a, Self, R>
fn cluster_slot_stats<R: DeserializeOwned>( self, filter: ClusterSlotStatsFilter, ) -> PreparedCommand<'a, Self, R>
Source§fn cluster_migration_import<R: DeserializeOwned>(
self,
slot_ranges: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn cluster_migration_import<R: DeserializeOwned>( self, slot_ranges: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn cluster_migration_cancel(
self,
target: ClusterMigrationTarget<'_>,
) -> PreparedCommand<'a, Self, usize>
fn cluster_migration_cancel( self, target: ClusterMigrationTarget<'_>, ) -> PreparedCommand<'a, Self, usize>
Source§fn cluster_migration_status<R: DeserializeOwned>(
self,
target: ClusterMigrationTarget<'_>,
) -> PreparedCommand<'a, Self, R>
fn cluster_migration_status<R: DeserializeOwned>( self, target: ClusterMigrationTarget<'_>, ) -> PreparedCommand<'a, Self, R>
ClusterMigrationTarget::Id, or all tasks for
ClusterMigrationTarget::All. Read moreSource§impl<'a> ConnectionCommands<'a> for &'a mut Pipeline<'_>
impl<'a> ConnectionCommands<'a> for &'a mut Pipeline<'_>
Source§fn auth(
self,
username: impl Serialize,
password: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn auth( self, username: impl Serialize, password: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn client_caching(
self,
mode: ClientCachingMode,
) -> PreparedCommand<'a, Self, Option<()>>
fn client_caching( self, mode: ClientCachingMode, ) -> PreparedCommand<'a, Self, Option<()>>
Source§fn client_getname<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn client_getname<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn client_getredir(self) -> PreparedCommand<'a, Self, i64>
fn client_getredir(self) -> PreparedCommand<'a, Self, i64>
Source§fn client_help<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn client_help<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn client_id(self) -> PreparedCommand<'a, Self, i64>
fn client_id(self) -> PreparedCommand<'a, Self, i64>
Source§fn client_info(self) -> PreparedCommand<'a, Self, ClientInfo>
fn client_info(self) -> PreparedCommand<'a, Self, ClientInfo>
Source§fn client_kill(
self,
options: ClientKillOptions<'_>,
) -> PreparedCommand<'a, Self, usize>
fn client_kill( self, options: ClientKillOptions<'_>, ) -> PreparedCommand<'a, Self, usize>
Source§fn client_list(
self,
options: ClientListOptions,
) -> PreparedCommand<'a, Self, ClientListResult>
fn client_list( self, options: ClientListOptions, ) -> PreparedCommand<'a, Self, ClientListResult>
Source§fn client_no_evict(self, no_evict: bool) -> PreparedCommand<'a, Self, ()>
fn client_no_evict(self, no_evict: bool) -> PreparedCommand<'a, Self, ()>
client eviction mode for the current connection. Read moreSource§fn client_no_touch(self, no_touch: bool) -> PreparedCommand<'a, Self, ()>
fn client_no_touch(self, no_touch: bool) -> PreparedCommand<'a, Self, ()>
Source§fn client_pause(
self,
timeout: u64,
mode: ClientPauseMode,
) -> PreparedCommand<'a, Self, ()>
fn client_pause( self, timeout: u64, mode: ClientPauseMode, ) -> PreparedCommand<'a, Self, ()>
Source§fn client_reply(self, mode: ClientReplyMode) -> PreparedCommand<'a, Self, ()>
fn client_reply(self, mode: ClientReplyMode) -> PreparedCommand<'a, Self, ()>
Source§fn client_setname(
self,
connection_name: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn client_setname( self, connection_name: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn client_setinfo(
self,
attr: ClientInfoAttribute,
info: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn client_setinfo( self, attr: ClientInfoAttribute, info: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
client_list or client_info. Read moreSource§fn client_tracking(
self,
status: ClientTrackingStatus,
options: ClientTrackingOptions,
) -> PreparedCommand<'a, Self, ()>
fn client_tracking( self, status: ClientTrackingStatus, options: ClientTrackingOptions, ) -> PreparedCommand<'a, Self, ()>
server assisted client side caching. Read moreSource§fn client_trackinginfo(self) -> PreparedCommand<'a, Self, ClientTrackingInfo>
fn client_trackinginfo(self) -> PreparedCommand<'a, Self, ClientTrackingInfo>
server assisted client side caching. Read moreSource§fn client_unblock(
self,
client_id: i64,
mode: ClientUnblockMode,
) -> PreparedCommand<'a, Self, bool>
fn client_unblock( self, client_id: i64, mode: ClientUnblockMode, ) -> PreparedCommand<'a, Self, bool>
BRPOP or XREAD or WAIT. Read moreSource§fn client_unpause(self) -> PreparedCommand<'a, Self, bool>
fn client_unpause(self) -> PreparedCommand<'a, Self, bool>
client_pause. Read moreSource§fn echo<R: DeserializeOwned>(
self,
message: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn echo<R: DeserializeOwned>( self, message: impl Serialize, ) -> PreparedCommand<'a, Self, R>
message. Read moreSource§fn ping<R: DeserializeOwned>(
self,
message: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn ping<R: DeserializeOwned>( self, message: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§impl<'a> CountMinSketchCommands<'a> for &'a mut Pipeline<'_>
impl<'a> CountMinSketchCommands<'a> for &'a mut Pipeline<'_>
Source§fn cms_incrby<R: DeserializeOwned>(
self,
key: impl Serialize,
items: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn cms_incrby<R: DeserializeOwned>( self, key: impl Serialize, items: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn cms_info(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, CmsInfoResult>
fn cms_info( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, CmsInfoResult>
Source§fn cms_initbydim(
self,
key: impl Serialize,
width: usize,
depth: usize,
) -> PreparedCommand<'a, Self, ()>
fn cms_initbydim( self, key: impl Serialize, width: usize, depth: usize, ) -> PreparedCommand<'a, Self, ()>
Source§fn cms_initbyprob(
self,
key: impl Serialize,
error: f64,
probability: f64,
) -> PreparedCommand<'a, Self, ()>
fn cms_initbyprob( self, key: impl Serialize, error: f64, probability: f64, ) -> PreparedCommand<'a, Self, ()>
Source§fn cms_merge(
self,
destination: impl Serialize,
sources: impl Serialize,
weights: Option<impl Serialize>,
) -> PreparedCommand<'a, Self, ()>
fn cms_merge( self, destination: impl Serialize, sources: impl Serialize, weights: Option<impl Serialize>, ) -> PreparedCommand<'a, Self, ()>
Source§fn cms_query<R: DeserializeOwned>(
self,
key: impl Serialize,
items: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn cms_query<R: DeserializeOwned>( self, key: impl Serialize, items: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§impl<'a> CuckooCommands<'a> for &'a mut Pipeline<'_>
impl<'a> CuckooCommands<'a> for &'a mut Pipeline<'_>
Source§fn cf_add(
self,
key: impl Serialize,
item: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn cf_add( self, key: impl Serialize, item: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn cf_addnx(
self,
key: impl Serialize,
item: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn cf_addnx( self, key: impl Serialize, item: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn cf_count(
self,
key: impl Serialize,
item: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn cf_count( self, key: impl Serialize, item: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn cf_del(
self,
key: impl Serialize,
item: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn cf_del( self, key: impl Serialize, item: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn cf_exists(
self,
key: impl Serialize,
item: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn cf_exists( self, key: impl Serialize, item: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn cf_info(self, key: impl Serialize) -> PreparedCommand<'a, Self, CfInfoResult>
fn cf_info(self, key: impl Serialize) -> PreparedCommand<'a, Self, CfInfoResult>
key Read moreSource§fn cf_insert(
self,
key: impl Serialize,
options: CfInsertOptions,
item: impl Serialize,
) -> PreparedCommand<'a, Self, Vec<bool>>
fn cf_insert( self, key: impl Serialize, options: CfInsertOptions, item: impl Serialize, ) -> PreparedCommand<'a, Self, Vec<bool>>
Source§fn cf_insertnx<R: DeserializeOwned>(
self,
key: impl Serialize,
options: CfInsertOptions,
item: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn cf_insertnx<R: DeserializeOwned>( self, key: impl Serialize, options: CfInsertOptions, item: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn cf_loadchunk(
self,
key: impl Serialize,
iterator: i64,
data: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn cf_loadchunk( self, key: impl Serialize, iterator: i64, data: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
cf_scandump. Read moreSource§fn cf_mexists<R: DeserializeOwned>(
self,
key: impl Serialize,
items: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn cf_mexists<R: DeserializeOwned>( self, key: impl Serialize, items: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn cf_reserve(
self,
key: impl Serialize,
capacity: usize,
options: CfReserveOptions,
) -> PreparedCommand<'a, Self, ()>
fn cf_reserve( self, key: impl Serialize, capacity: usize, options: CfReserveOptions, ) -> PreparedCommand<'a, Self, ()>
key with a single sub-filter for the initial amount of capacity for items.
Because of how Cuckoo Filters work, the filter is likely to declare itself full before capacity is reached
and therefore fill rate will likely never reach 100%.
The fill rate can be improved by using a larger bucketsize at the cost of a higher error rate.
When the filter self-declare itself full, it will auto-expand by generating additional sub-filters at the cost of reduced performance and increased error rate.
The new sub-filter is created with size of the previous sub-filter multiplied by expansion.
Like bucket size, additional sub-filters grow the error rate linearly.
The size of the new sub-filter is the size of the last sub-filter multiplied by expansion. Read moreSource§fn cf_scandump(
self,
key: impl Serialize,
iterator: i64,
) -> PreparedCommand<'a, Self, CfScanDumpResult>
fn cf_scandump( self, key: impl Serialize, iterator: i64, ) -> PreparedCommand<'a, Self, CfScanDumpResult>
Source§impl<'a> GenericCommands<'a> for &'a mut Pipeline<'_>
impl<'a> GenericCommands<'a> for &'a mut Pipeline<'_>
Source§fn copy(
self,
source: impl Serialize,
destination: impl Serialize,
destination_db: Option<usize>,
replace: bool,
) -> PreparedCommand<'a, Self, bool>
fn copy( self, source: impl Serialize, destination: impl Serialize, destination_db: Option<usize>, replace: bool, ) -> PreparedCommand<'a, Self, bool>
Source§fn del(self, keys: impl Serialize) -> PreparedCommand<'a, Self, usize>
fn del(self, keys: impl Serialize) -> PreparedCommand<'a, Self, usize>
Source§fn dump(self, key: impl Serialize) -> PreparedCommand<'a, Self, BulkString>
fn dump(self, key: impl Serialize) -> PreparedCommand<'a, Self, BulkString>
Source§fn exists(self, keys: impl Serialize) -> PreparedCommand<'a, Self, usize>
fn exists(self, keys: impl Serialize) -> PreparedCommand<'a, Self, usize>
Source§fn expire(
self,
key: impl Serialize,
seconds: u64,
option: impl Into<Option<ExpireOption>>,
) -> PreparedCommand<'a, Self, bool>
fn expire( self, key: impl Serialize, seconds: u64, option: impl Into<Option<ExpireOption>>, ) -> PreparedCommand<'a, Self, bool>
Source§fn expireat(
self,
key: impl Serialize,
unix_time_seconds: u64,
option: impl Into<Option<ExpireOption>>,
) -> PreparedCommand<'a, Self, bool>
fn expireat( self, key: impl Serialize, unix_time_seconds: u64, option: impl Into<Option<ExpireOption>>, ) -> PreparedCommand<'a, Self, bool>
Source§fn expiretime(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
fn expiretime(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
Source§fn keys<R: DeserializeOwned>(
self,
pattern: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn keys<R: DeserializeOwned>( self, pattern: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn migrate(
self,
host: impl Serialize,
port: u16,
key: impl Serialize,
destination_db: usize,
timeout: u64,
options: MigrateOptions<'_>,
) -> PreparedCommand<'a, Self, MigrateResult>
fn migrate( self, host: impl Serialize, port: u16, key: impl Serialize, destination_db: usize, timeout: u64, options: MigrateOptions<'_>, ) -> PreparedCommand<'a, Self, MigrateResult>
Source§fn move_(self, key: impl Serialize, db: usize) -> PreparedCommand<'a, Self, i64>
fn move_(self, key: impl Serialize, db: usize) -> PreparedCommand<'a, Self, i64>
Source§fn object_encoding<R: DeserializeOwned>(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn object_encoding<R: DeserializeOwned>( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, R>
key Read moreSource§fn object_freq(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
fn object_freq(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
key. Read moreSource§fn object_help<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn object_help<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn object_idle_time(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
fn object_idle_time(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
key. Read moreSource§fn object_refcount(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
fn object_refcount(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
key. Read moreSource§fn persist(self, key: impl Serialize) -> PreparedCommand<'a, Self, bool>
fn persist(self, key: impl Serialize) -> PreparedCommand<'a, Self, bool>
Source§fn pexpire(
self,
key: impl Serialize,
milliseconds: u64,
option: impl Into<Option<ExpireOption>>,
) -> PreparedCommand<'a, Self, bool>
fn pexpire( self, key: impl Serialize, milliseconds: u64, option: impl Into<Option<ExpireOption>>, ) -> PreparedCommand<'a, Self, bool>
Source§fn pexpireat(
self,
key: impl Serialize,
unix_time_milliseconds: u64,
option: impl Into<Option<ExpireOption>>,
) -> PreparedCommand<'a, Self, bool>
fn pexpireat( self, key: impl Serialize, unix_time_milliseconds: u64, option: impl Into<Option<ExpireOption>>, ) -> PreparedCommand<'a, Self, bool>
Source§fn pexpiretime(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
fn pexpiretime(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
Source§fn pttl(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
fn pttl(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
Source§fn randomkey<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn randomkey<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn rename(
self,
key: impl Serialize,
new_key: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn rename( self, key: impl Serialize, new_key: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn renamenx(
self,
key: impl Serialize,
new_key: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn renamenx( self, key: impl Serialize, new_key: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn restore(
self,
key: impl Serialize,
ttl: u64,
serialized_value: &BulkString,
options: RestoreOptions,
) -> PreparedCommand<'a, Self, ()>
fn restore( self, key: impl Serialize, ttl: u64, serialized_value: &BulkString, options: RestoreOptions, ) -> PreparedCommand<'a, Self, ()>
Source§fn scan<R: DeserializeOwned>(
self,
cursor: u64,
options: ScanOptions<'_>,
) -> PreparedCommand<'a, Self, R>
fn scan<R: DeserializeOwned>( self, cursor: u64, options: ScanOptions<'_>, ) -> PreparedCommand<'a, Self, R>
Source§fn sort<R: DeserializeOwned>(
self,
key: impl Serialize,
options: SortOptions<'_>,
) -> PreparedCommand<'a, Self, R>
fn sort<R: DeserializeOwned>( self, key: impl Serialize, options: SortOptions<'_>, ) -> PreparedCommand<'a, Self, R>
Source§fn sort_and_store(
self,
key: impl Serialize,
destination: impl Serialize,
options: SortOptions<'_>,
) -> PreparedCommand<'a, Self, usize>
fn sort_and_store( self, key: impl Serialize, destination: impl Serialize, options: SortOptions<'_>, ) -> PreparedCommand<'a, Self, usize>
Source§fn sort_readonly<R: DeserializeOwned>(
self,
key: impl Serialize,
options: SortOptions<'_>,
) -> PreparedCommand<'a, Self, R>
fn sort_readonly<R: DeserializeOwned>( self, key: impl Serialize, options: SortOptions<'_>, ) -> PreparedCommand<'a, Self, R>
Source§fn touch(self, keys: impl Serialize) -> PreparedCommand<'a, Self, usize>
fn touch(self, keys: impl Serialize) -> PreparedCommand<'a, Self, usize>
Source§fn ttl(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
fn ttl(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
Source§fn type_<R: DeserializeOwned>(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn type_<R: DeserializeOwned>( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn unlink(self, keys: impl Serialize) -> PreparedCommand<'a, Self, usize>
fn unlink(self, keys: impl Serialize) -> PreparedCommand<'a, Self, usize>
Source§fn wait(
self,
num_replicas: usize,
timeout: u64,
) -> PreparedCommand<'a, Self, usize>
fn wait( self, num_replicas: usize, timeout: u64, ) -> PreparedCommand<'a, Self, usize>
Source§fn waitaof(
self,
num_local: usize,
num_replicas: usize,
timeout: u64,
) -> PreparedCommand<'a, Self, (usize, usize)>
fn waitaof( self, num_local: usize, num_replicas: usize, timeout: u64, ) -> PreparedCommand<'a, Self, (usize, usize)>
Source§impl<'a> GeoCommands<'a> for &'a mut Pipeline<'_>
impl<'a> GeoCommands<'a> for &'a mut Pipeline<'_>
Source§fn geoadd(
self,
key: impl Serialize,
condition: impl Into<Option<GeoAddCondition>>,
change: bool,
items: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn geoadd( self, key: impl Serialize, condition: impl Into<Option<GeoAddCondition>>, change: bool, items: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn geodist(
self,
key: impl Serialize,
member1: impl Serialize,
member2: impl Serialize,
unit: GeoUnit,
) -> PreparedCommand<'a, Self, Option<f64>>
fn geodist( self, key: impl Serialize, member1: impl Serialize, member2: impl Serialize, unit: GeoUnit, ) -> PreparedCommand<'a, Self, Option<f64>>
Source§fn geohash<R: DeserializeOwned>(
self,
key: impl Serialize,
members: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn geohash<R: DeserializeOwned>( self, key: impl Serialize, members: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn geopos(
self,
key: impl Serialize,
members: impl Serialize,
) -> PreparedCommand<'a, Self, Vec<Option<(f64, f64)>>>
fn geopos( self, key: impl Serialize, members: impl Serialize, ) -> PreparedCommand<'a, Self, Vec<Option<(f64, f64)>>>
Source§fn geosearch<'b, R: DeserializeOwned>(
self,
key: impl Serialize,
from: GeoSearchFrom<'b>,
by: GeoSearchBy,
options: GeoSearchOptions,
) -> PreparedCommand<'a, Self, R>
fn geosearch<'b, R: DeserializeOwned>( self, key: impl Serialize, from: GeoSearchFrom<'b>, by: GeoSearchBy, options: GeoSearchOptions, ) -> PreparedCommand<'a, Self, R>
Source§fn geosearchstore<'b>(
self,
destination: impl Serialize,
source: impl Serialize,
from: GeoSearchFrom<'b>,
by: GeoSearchBy,
options: GeoSearchStoreOptions,
) -> PreparedCommand<'a, Self, u32>
fn geosearchstore<'b>( self, destination: impl Serialize, source: impl Serialize, from: GeoSearchFrom<'b>, by: GeoSearchBy, options: GeoSearchStoreOptions, ) -> PreparedCommand<'a, Self, u32>
Source§impl<'a> HashCommands<'a> for &'a mut Pipeline<'_>
impl<'a> HashCommands<'a> for &'a mut Pipeline<'_>
Source§fn hdel(
self,
key: impl Serialize,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn hdel( self, key: impl Serialize, fields: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn hexists(
self,
key: impl Serialize,
field: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn hexists( self, key: impl Serialize, field: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn hexpire<R: DeserializeOwned>(
self,
key: impl Serialize,
seconds: u64,
option: impl Into<Option<ExpireOption>>,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hexpire<R: DeserializeOwned>( self, key: impl Serialize, seconds: u64, option: impl Into<Option<ExpireOption>>, fields: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hexpireat<R: DeserializeOwned>(
self,
key: impl Serialize,
unix_time_seconds: u64,
option: impl Into<Option<ExpireOption>>,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hexpireat<R: DeserializeOwned>( self, key: impl Serialize, unix_time_seconds: u64, option: impl Into<Option<ExpireOption>>, fields: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hexpiretime<R: DeserializeOwned>(
self,
key: impl Serialize,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hexpiretime<R: DeserializeOwned>( self, key: impl Serialize, fields: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hget<R: DeserializeOwned>(
self,
key: impl Serialize,
field: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hget<R: DeserializeOwned>( self, key: impl Serialize, field: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hgetall<R: DeserializeOwned>(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hgetall<R: DeserializeOwned>( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hgetdel<R: DeserializeOwned>(
self,
key: impl Serialize,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hgetdel<R: DeserializeOwned>( self, key: impl Serialize, fields: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hgetex<R: DeserializeOwned>(
self,
key: impl Serialize,
options: GetExOptions,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hgetex<R: DeserializeOwned>( self, key: impl Serialize, options: GetExOptions, fields: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hincrby(
self,
key: impl Serialize,
field: impl Serialize,
increment: i64,
) -> PreparedCommand<'a, Self, i64>
fn hincrby( self, key: impl Serialize, field: impl Serialize, increment: i64, ) -> PreparedCommand<'a, Self, i64>
Source§fn hincrbyfloat(
self,
key: impl Serialize,
field: impl Serialize,
increment: f64,
) -> PreparedCommand<'a, Self, f64>
fn hincrbyfloat( self, key: impl Serialize, field: impl Serialize, increment: f64, ) -> PreparedCommand<'a, Self, f64>
Source§fn hkeys<R: DeserializeOwned>(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hkeys<R: DeserializeOwned>( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hlen(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
fn hlen(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
Source§fn hmget<R: DeserializeOwned>(
self,
key: impl Serialize,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hmget<R: DeserializeOwned>( self, key: impl Serialize, fields: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hpersist<R: DeserializeOwned>(
self,
key: impl Serialize,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hpersist<R: DeserializeOwned>( self, key: impl Serialize, fields: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hpexpire<R: DeserializeOwned>(
self,
key: impl Serialize,
milliseconds: u64,
option: impl Into<Option<ExpireOption>>,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hpexpire<R: DeserializeOwned>( self, key: impl Serialize, milliseconds: u64, option: impl Into<Option<ExpireOption>>, fields: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hpexpireat<R: DeserializeOwned>(
self,
key: impl Serialize,
unix_time_milliseconds: u64,
option: impl Into<Option<ExpireOption>>,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hpexpireat<R: DeserializeOwned>( self, key: impl Serialize, unix_time_milliseconds: u64, option: impl Into<Option<ExpireOption>>, fields: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hpexpiretime<R: DeserializeOwned>(
self,
key: impl Serialize,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hpexpiretime<R: DeserializeOwned>( self, key: impl Serialize, fields: impl Serialize, ) -> PreparedCommand<'a, Self, R>
hexpiretime,
but returns the absolute Unix expiration timestamp
in milliseconds since Unix epoch instead of seconds. Read moreSource§fn hpttl<R: DeserializeOwned>(
self,
key: impl Serialize,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hpttl<R: DeserializeOwned>( self, key: impl Serialize, fields: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hrandfield<R: DeserializeOwned>(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hrandfield<R: DeserializeOwned>( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hrandfields<R: DeserializeOwned>(
self,
key: impl Serialize,
count: isize,
) -> PreparedCommand<'a, Self, R>
fn hrandfields<R: DeserializeOwned>( self, key: impl Serialize, count: isize, ) -> PreparedCommand<'a, Self, R>
Source§fn hrandfields_with_values<R: DeserializeOwned>(
self,
key: impl Serialize,
count: isize,
) -> PreparedCommand<'a, Self, R>
fn hrandfields_with_values<R: DeserializeOwned>( self, key: impl Serialize, count: isize, ) -> PreparedCommand<'a, Self, R>
Source§fn hscan<F: DeserializeOwned, V: DeserializeOwned>(
self,
key: impl Serialize,
cursor: u64,
options: HScanOptions<'_>,
) -> PreparedCommand<'a, Self, HScanResult<F, V>>
fn hscan<F: DeserializeOwned, V: DeserializeOwned>( self, key: impl Serialize, cursor: u64, options: HScanOptions<'_>, ) -> PreparedCommand<'a, Self, HScanResult<F, V>>
Source§fn hscan_no_values<R: DeserializeOwned>(
self,
key: impl Serialize,
cursor: u64,
options: HScanOptions<'_>,
) -> PreparedCommand<'a, Self, (u64, R)>
fn hscan_no_values<R: DeserializeOwned>( self, key: impl Serialize, cursor: u64, options: HScanOptions<'_>, ) -> PreparedCommand<'a, Self, (u64, R)>
Source§fn hset(
self,
key: impl Serialize,
items: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn hset( self, key: impl Serialize, items: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn hsetex(
self,
key: impl Serialize,
condition: impl Into<Option<HSetExCondition>>,
expiration: impl Into<Option<SetExpiration>>,
items: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn hsetex( self, key: impl Serialize, condition: impl Into<Option<HSetExCondition>>, expiration: impl Into<Option<SetExpiration>>, items: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn hsetnx(
self,
key: impl Serialize,
field: impl Serialize,
value: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn hsetnx( self, key: impl Serialize, field: impl Serialize, value: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn hstrlen(
self,
key: impl Serialize,
field: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn hstrlen( self, key: impl Serialize, field: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn httl<R: DeserializeOwned>(
self,
key: impl Serialize,
fields: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn httl<R: DeserializeOwned>( self, key: impl Serialize, fields: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hvals<R: DeserializeOwned>(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn hvals<R: DeserializeOwned>( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§impl<'a> HyperLogLogCommands<'a> for &'a mut Pipeline<'_>
impl<'a> HyperLogLogCommands<'a> for &'a mut Pipeline<'_>
Source§fn pfadd(
self,
key: impl Serialize,
elements: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn pfadd( self, key: impl Serialize, elements: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§impl<'a> JsonCommands<'a> for &'a mut Pipeline<'_>
impl<'a> JsonCommands<'a> for &'a mut Pipeline<'_>
Source§fn json_arrappend<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
values: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_arrappend<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, values: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn json_arrindex<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
value: impl Serialize,
options: JsonArrIndexOptions,
) -> PreparedCommand<'a, Self, R>
fn json_arrindex<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, value: impl Serialize, options: JsonArrIndexOptions, ) -> PreparedCommand<'a, Self, R>
Source§fn json_arrinsert<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
index: isize,
values: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_arrinsert<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, index: isize, values: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn json_arrlen<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_arrlen<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn json_arrpop<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
index: isize,
) -> PreparedCommand<'a, Self, R>
fn json_arrpop<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, index: isize, ) -> PreparedCommand<'a, Self, R>
Source§fn json_arrtrim<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
start: isize,
stop: isize,
) -> PreparedCommand<'a, Self, R>
fn json_arrtrim<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, start: isize, stop: isize, ) -> PreparedCommand<'a, Self, R>
Source§fn json_clear(
self,
key: impl Serialize,
path: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn json_clear( self, key: impl Serialize, path: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn json_debug_memory<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_debug_memory<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn json_del(
self,
key: impl Serialize,
path: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn json_del( self, key: impl Serialize, path: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn json_forget(
self,
key: impl Serialize,
path: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn json_forget( self, key: impl Serialize, path: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn json_get<R: DeserializeOwned>(
self,
key: impl Serialize,
options: JsonGetOptions<'_>,
) -> PreparedCommand<'a, Self, R>
fn json_get<R: DeserializeOwned>( self, key: impl Serialize, options: JsonGetOptions<'_>, ) -> PreparedCommand<'a, Self, R>
Source§fn json_mget<R: DeserializeOwned>(
self,
keys: impl Serialize,
path: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_mget<R: DeserializeOwned>( self, keys: impl Serialize, path: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn json_merge(
self,
key: impl Serialize,
path: impl Serialize,
value: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn json_merge( self, key: impl Serialize, path: impl Serialize, value: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn json_mset(
self,
key_path_values: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn json_mset( self, key_path_values: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn json_numincrby<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
value: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_numincrby<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, value: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn json_nummultby<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
value: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_nummultby<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, value: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn json_objkeys<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_objkeys<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, ) -> PreparedCommand<'a, Self, R>
path Read moreSource§fn json_objlen<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_objlen<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn json_resp<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_resp<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Redis serialization protocol specification form Read moreSource§fn json_set<'b>(
self,
key: impl Serialize,
path: impl Serialize,
value: impl Serialize,
options: impl Into<Option<JsonSetOptions<'b>>>,
) -> PreparedCommand<'a, Self, ()>
fn json_set<'b>( self, key: impl Serialize, path: impl Serialize, value: impl Serialize, options: impl Into<Option<JsonSetOptions<'b>>>, ) -> PreparedCommand<'a, Self, ()>
Source§fn json_strappend<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
value: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_strappend<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, value: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn json_strlen<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_strlen<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn json_toggle<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_toggle<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, ) -> PreparedCommand<'a, Self, R>
path Read moreSource§fn json_type<R: DeserializeOwned>(
self,
key: impl Serialize,
path: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn json_type<R: DeserializeOwned>( self, key: impl Serialize, path: impl Serialize, ) -> PreparedCommand<'a, Self, R>
path Read moreSource§impl<'a> ListCommands<'a> for &'a mut Pipeline<'_>
impl<'a> ListCommands<'a> for &'a mut Pipeline<'_>
Source§fn lindex<R: DeserializeOwned>(
self,
key: impl Serialize,
index: isize,
) -> PreparedCommand<'a, Self, R>
fn lindex<R: DeserializeOwned>( self, key: impl Serialize, index: isize, ) -> PreparedCommand<'a, Self, R>
Source§fn linsert(
self,
key: impl Serialize,
where_: LInsertWhere,
pivot: impl Serialize,
element: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn linsert( self, key: impl Serialize, where_: LInsertWhere, pivot: impl Serialize, element: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn llen(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
fn llen(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
Source§fn lmove<R: DeserializeOwned>(
self,
source: impl Serialize,
destination: impl Serialize,
where_from: LMoveWhere,
where_to: LMoveWhere,
) -> PreparedCommand<'a, Self, R>
fn lmove<R: DeserializeOwned>( self, source: impl Serialize, destination: impl Serialize, where_from: LMoveWhere, where_to: LMoveWhere, ) -> PreparedCommand<'a, Self, R>
Source§fn lmpop<R: DeserializeOwned>(
self,
keys: impl Serialize,
where_: LMoveWhere,
count: usize,
) -> PreparedCommand<'a, Self, (String, Vec<R>)>
fn lmpop<R: DeserializeOwned>( self, keys: impl Serialize, where_: LMoveWhere, count: usize, ) -> PreparedCommand<'a, Self, (String, Vec<R>)>
Source§fn lpop<R: DeserializeOwned>(
self,
key: impl Serialize,
count: u32,
) -> PreparedCommand<'a, Self, R>
fn lpop<R: DeserializeOwned>( self, key: impl Serialize, count: u32, ) -> PreparedCommand<'a, Self, R>
Source§fn lpos(
self,
key: impl Serialize,
element: impl Serialize,
rank: Option<usize>,
max_len: Option<usize>,
) -> PreparedCommand<'a, Self, Option<usize>>
fn lpos( self, key: impl Serialize, element: impl Serialize, rank: Option<usize>, max_len: Option<usize>, ) -> PreparedCommand<'a, Self, Option<usize>>
Source§fn lpos_with_count<R: DeserializeOwned>(
self,
key: impl Serialize,
element: impl Serialize,
num_matches: usize,
rank: Option<usize>,
max_len: Option<usize>,
) -> PreparedCommand<'a, Self, R>
fn lpos_with_count<R: DeserializeOwned>( self, key: impl Serialize, element: impl Serialize, num_matches: usize, rank: Option<usize>, max_len: Option<usize>, ) -> PreparedCommand<'a, Self, R>
Source§fn lpush(
self,
key: impl Serialize,
elements: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn lpush( self, key: impl Serialize, elements: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn lpushx(
self,
key: impl Serialize,
elements: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn lpushx( self, key: impl Serialize, elements: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn lrange<R: DeserializeOwned>(
self,
key: impl Serialize,
start: isize,
stop: isize,
) -> PreparedCommand<'a, Self, R>
fn lrange<R: DeserializeOwned>( self, key: impl Serialize, start: isize, stop: isize, ) -> PreparedCommand<'a, Self, R>
Source§fn lrem(
self,
key: impl Serialize,
count: isize,
element: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn lrem( self, key: impl Serialize, count: isize, element: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn lset(
self,
key: impl Serialize,
index: isize,
element: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn lset( self, key: impl Serialize, index: isize, element: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn ltrim(
self,
key: impl Serialize,
start: isize,
stop: isize,
) -> PreparedCommand<'a, Self, ()>
fn ltrim( self, key: impl Serialize, start: isize, stop: isize, ) -> PreparedCommand<'a, Self, ()>
Source§fn rpop<R: DeserializeOwned>(
self,
key: impl Serialize,
count: u32,
) -> PreparedCommand<'a, Self, R>
fn rpop<R: DeserializeOwned>( self, key: impl Serialize, count: u32, ) -> PreparedCommand<'a, Self, R>
Source§impl<'a> ScriptingCommands<'a> for &'a mut Pipeline<'_>
impl<'a> ScriptingCommands<'a> for &'a mut Pipeline<'_>
Source§fn eval<R: DeserializeOwned>(
self,
script: impl Serialize,
keys: impl Serialize,
args: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn eval<R: DeserializeOwned>( self, script: impl Serialize, keys: impl Serialize, args: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn eval_readonly<R: DeserializeOwned>(
self,
script: impl Serialize,
keys: impl Serialize,
args: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn eval_readonly<R: DeserializeOwned>( self, script: impl Serialize, keys: impl Serialize, args: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn evalsha<R: DeserializeOwned>(
self,
sha1: impl Serialize,
keys: impl Serialize,
args: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn evalsha<R: DeserializeOwned>( self, sha1: impl Serialize, keys: impl Serialize, args: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn evalsha_readonly<R: DeserializeOwned>(
self,
sha1: impl Serialize,
keys: impl Serialize,
args: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn evalsha_readonly<R: DeserializeOwned>( self, sha1: impl Serialize, keys: impl Serialize, args: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn fcall<R: DeserializeOwned>(
self,
function: impl Serialize,
keys: impl Serialize,
args: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn fcall<R: DeserializeOwned>( self, function: impl Serialize, keys: impl Serialize, args: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn fcall_readonly<R: DeserializeOwned>(
self,
function: impl Serialize,
keys: impl Serialize,
args: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn fcall_readonly<R: DeserializeOwned>( self, function: impl Serialize, keys: impl Serialize, args: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn function_delete(
self,
library_name: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn function_delete( self, library_name: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn function_dump(self) -> PreparedCommand<'a, Self, BulkString>
fn function_dump(self) -> PreparedCommand<'a, Self, BulkString>
function_restore command. Read moreSource§fn function_flush(
self,
flushing_mode: FlushingMode,
) -> PreparedCommand<'a, Self, ()>
fn function_flush( self, flushing_mode: FlushingMode, ) -> PreparedCommand<'a, Self, ()>
Source§fn function_help(self) -> PreparedCommand<'a, Self, Vec<String>>
fn function_help(self) -> PreparedCommand<'a, Self, Vec<String>>
Source§fn function_kill(self) -> PreparedCommand<'a, Self, ()>
fn function_kill(self) -> PreparedCommand<'a, Self, ()>
Source§fn function_list(
self,
options: FunctionListOptions<'_>,
) -> PreparedCommand<'a, Self, Vec<LibraryInfo>>
fn function_list( self, options: FunctionListOptions<'_>, ) -> PreparedCommand<'a, Self, Vec<LibraryInfo>>
Source§fn function_load<R: DeserializeOwned>(
self,
replace: bool,
function_code: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn function_load<R: DeserializeOwned>( self, replace: bool, function_code: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn function_restore(
self,
serialized_payload: &BulkString,
policy: impl Into<Option<FunctionRestorePolicy>>,
) -> PreparedCommand<'a, Self, ()>
fn function_restore( self, serialized_payload: &BulkString, policy: impl Into<Option<FunctionRestorePolicy>>, ) -> PreparedCommand<'a, Self, ()>
Source§fn function_stats(self) -> PreparedCommand<'a, Self, FunctionStats>
fn function_stats(self) -> PreparedCommand<'a, Self, FunctionStats>
Source§fn script_debug(
self,
debug_mode: ScriptDebugMode,
) -> PreparedCommand<'a, Self, ()>
fn script_debug( self, debug_mode: ScriptDebugMode, ) -> PreparedCommand<'a, Self, ()>
Source§fn script_exists(
self,
sha1s: impl Serialize,
) -> PreparedCommand<'a, Self, Vec<bool>>
fn script_exists( self, sha1s: impl Serialize, ) -> PreparedCommand<'a, Self, Vec<bool>>
Source§fn script_flush(
self,
flushing_mode: FlushingMode,
) -> PreparedCommand<'a, Self, ()>
fn script_flush( self, flushing_mode: FlushingMode, ) -> PreparedCommand<'a, Self, ()>
Source§fn script_kill(self) -> PreparedCommand<'a, Self, ()>
fn script_kill(self) -> PreparedCommand<'a, Self, ()>
Source§fn script_load<R: DeserializeOwned>(
self,
script: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn script_load<R: DeserializeOwned>( self, script: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§impl<'a> SearchCommands<'a> for &'a mut Pipeline<'_>
impl<'a> SearchCommands<'a> for &'a mut Pipeline<'_>
Source§fn ft_aggregate(
self,
index: impl Serialize,
query: impl Serialize,
options: FtAggregateOptions<'_>,
) -> PreparedCommand<'a, Self, FtAggregateResult>
fn ft_aggregate( self, index: impl Serialize, query: impl Serialize, options: FtAggregateOptions<'_>, ) -> PreparedCommand<'a, Self, FtAggregateResult>
Source§fn ft_aliasadd(
self,
alias: impl Serialize,
index: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn ft_aliasadd( self, alias: impl Serialize, index: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn ft_aliasdel(self, alias: impl Serialize) -> PreparedCommand<'a, Self, ()>
fn ft_aliasdel(self, alias: impl Serialize) -> PreparedCommand<'a, Self, ()>
Source§fn ft_aliasupdate(
self,
alias: impl Serialize,
index: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn ft_aliasupdate( self, alias: impl Serialize, index: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn ft_alter(
self,
index: impl Serialize,
skip_initial_scan: bool,
attribute: FtFieldSchema<'_>,
) -> PreparedCommand<'a, Self, ()>
fn ft_alter( self, index: impl Serialize, skip_initial_scan: bool, attribute: FtFieldSchema<'_>, ) -> PreparedCommand<'a, Self, ()>
Source§fn ft_config_get<R: DeserializeOwned>(
self,
option: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn ft_config_get<R: DeserializeOwned>( self, option: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn ft_config_set(
self,
option: impl Serialize,
value: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn ft_config_set( self, option: impl Serialize, value: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn ft_create(
self,
index: impl Serialize,
options: FtCreateOptions<'_>,
) -> PreparedCommand<'a, Self, ()>
fn ft_create( self, index: impl Serialize, options: FtCreateOptions<'_>, ) -> PreparedCommand<'a, Self, ()>
Source§fn ft_cursor_del(
self,
index: impl Serialize,
cursor_id: u64,
) -> PreparedCommand<'a, Self, ()>
fn ft_cursor_del( self, index: impl Serialize, cursor_id: u64, ) -> PreparedCommand<'a, Self, ()>
Source§fn ft_cursor_read(
self,
index: impl Serialize,
cursor_id: u64,
) -> PreparedCommand<'a, Self, FtAggregateResult>
fn ft_cursor_read( self, index: impl Serialize, cursor_id: u64, ) -> PreparedCommand<'a, Self, FtAggregateResult>
Source§fn ft_dictadd(
self,
dict: impl Serialize,
terms: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn ft_dictadd( self, dict: impl Serialize, terms: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn ft_dictdel(
self,
dict: impl Serialize,
terms: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn ft_dictdel( self, dict: impl Serialize, terms: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn ft_dictdump<R: DeserializeOwned>(
self,
dict: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn ft_dictdump<R: DeserializeOwned>( self, dict: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn ft_dropindex(
self,
index: impl Serialize,
dd: bool,
) -> PreparedCommand<'a, Self, ()>
fn ft_dropindex( self, index: impl Serialize, dd: bool, ) -> PreparedCommand<'a, Self, ()>
Source§fn ft_explain<R: DeserializeOwned>(
self,
index: impl Serialize,
query: impl Serialize,
dialect_version: Option<u64>,
) -> PreparedCommand<'a, Self, R>
fn ft_explain<R: DeserializeOwned>( self, index: impl Serialize, query: impl Serialize, dialect_version: Option<u64>, ) -> PreparedCommand<'a, Self, R>
Source§fn ft_explaincli(
self,
index: impl Serialize,
query: impl Serialize,
dialect_version: Option<u64>,
) -> PreparedCommand<'a, Self, Value>
fn ft_explaincli( self, index: impl Serialize, query: impl Serialize, dialect_version: Option<u64>, ) -> PreparedCommand<'a, Self, Value>
redis-cli --raw Read moreSource§fn ft_info(
self,
index: impl Serialize,
) -> PreparedCommand<'a, Self, FtInfoResult>
fn ft_info( self, index: impl Serialize, ) -> PreparedCommand<'a, Self, FtInfoResult>
Source§fn ft_list<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn ft_list<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn ft_hybrid<R: DeserializeOwned>(
self,
index: impl Serialize,
search: FtHybridSearch<'_>,
vsim: FtHybridVsim<'_>,
options: FtHybridOptions<'_>,
) -> PreparedCommand<'a, Self, R>
fn ft_hybrid<R: DeserializeOwned>( self, index: impl Serialize, search: FtHybridSearch<'_>, vsim: FtHybridVsim<'_>, options: FtHybridOptions<'_>, ) -> PreparedCommand<'a, Self, R>
FtHybridSearch) and a
vector similarity search (FtHybridVsim), fusing their results. Read moreSource§fn ft_profile_search(
self,
index: impl Serialize,
limited: bool,
query: impl Serialize,
) -> PreparedCommand<'a, Self, Value>
fn ft_profile_search( self, index: impl Serialize, limited: bool, query: impl Serialize, ) -> PreparedCommand<'a, Self, Value>
Source§fn ft_profile_aggregate(
self,
index: impl Serialize,
limited: bool,
query: impl Serialize,
) -> PreparedCommand<'a, Self, Value>
fn ft_profile_aggregate( self, index: impl Serialize, limited: bool, query: impl Serialize, ) -> PreparedCommand<'a, Self, Value>
ft_aggregate command and collects performance information Read moreSource§fn ft_search(
self,
index: impl Serialize,
query: impl Serialize,
options: FtSearchOptions<'_>,
) -> PreparedCommand<'a, Self, FtSearchResult>
fn ft_search( self, index: impl Serialize, query: impl Serialize, options: FtSearchOptions<'_>, ) -> PreparedCommand<'a, Self, FtSearchResult>
Source§fn ft_spellcheck(
self,
index: impl Serialize,
query: impl Serialize,
options: FtSpellCheckOptions<'_>,
) -> PreparedCommand<'a, Self, FtSpellCheckResult>
fn ft_spellcheck( self, index: impl Serialize, query: impl Serialize, options: FtSpellCheckOptions<'_>, ) -> PreparedCommand<'a, Self, FtSpellCheckResult>
Source§fn ft_syndump<R: DeserializeOwned>(
self,
index: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn ft_syndump<R: DeserializeOwned>( self, index: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn ft_synupdate(
self,
index: impl Serialize,
synonym_group_id: impl Serialize,
skip_initial_scan: bool,
terms: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn ft_synupdate( self, index: impl Serialize, synonym_group_id: impl Serialize, skip_initial_scan: bool, terms: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn ft_tagvals<R: DeserializeOwned>(
self,
index: impl Serialize,
field_name: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn ft_tagvals<R: DeserializeOwned>( self, index: impl Serialize, field_name: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn ft_sugadd(
self,
key: impl Serialize,
string: impl Serialize,
score: f64,
options: FtSugAddOptions<'_>,
) -> PreparedCommand<'a, Self, usize>
fn ft_sugadd( self, key: impl Serialize, string: impl Serialize, score: f64, options: FtSugAddOptions<'_>, ) -> PreparedCommand<'a, Self, usize>
Source§fn ft_sugdel(
self,
key: impl Serialize,
string: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn ft_sugdel( self, key: impl Serialize, string: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn ft_sugget<R: DeserializeOwned>(
self,
key: impl Serialize,
prefix: impl Serialize,
options: FtSugGetOptions,
) -> PreparedCommand<'a, Self, R>
fn ft_sugget<R: DeserializeOwned>( self, key: impl Serialize, prefix: impl Serialize, options: FtSugGetOptions, ) -> PreparedCommand<'a, Self, R>
Source§impl<'a> ServerCommands<'a> for &'a mut Pipeline<'_>
impl<'a> ServerCommands<'a> for &'a mut Pipeline<'_>
Source§fn acl_cat<R: DeserializeOwned>(
self,
options: AclCatOptions<'_>,
) -> PreparedCommand<'a, Self, R>
fn acl_cat<R: DeserializeOwned>( self, options: AclCatOptions<'_>, ) -> PreparedCommand<'a, Self, R>
Source§fn acl_deluser(
self,
usernames: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn acl_deluser( self, usernames: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn acl_dryrun<R: DeserializeOwned>(
self,
username: impl Serialize,
command: impl Serialize,
options: AclDryRunOptions,
) -> PreparedCommand<'a, Self, R>
fn acl_dryrun<R: DeserializeOwned>( self, username: impl Serialize, command: impl Serialize, options: AclDryRunOptions, ) -> PreparedCommand<'a, Self, R>
Source§fn acl_genpass<R: DeserializeOwned>(
self,
options: AclGenPassOptions,
) -> PreparedCommand<'a, Self, R>
fn acl_genpass<R: DeserializeOwned>( self, options: AclGenPassOptions, ) -> PreparedCommand<'a, Self, R>
Source§fn acl_getuser<R: DeserializeOwned>(
self,
username: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn acl_getuser<R: DeserializeOwned>( self, username: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn acl_help<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>where
Self: Sized,
fn acl_help<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>where
Self: Sized,
Source§fn acl_list<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>where
Self: Sized,
fn acl_list<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>where
Self: Sized,
Source§fn acl_load(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn acl_load(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Source§fn acl_log<R: DeserializeOwned>(
self,
options: AclLogOptions,
) -> PreparedCommand<'a, Self, R>
fn acl_log<R: DeserializeOwned>( self, options: AclLogOptions, ) -> PreparedCommand<'a, Self, R>
Source§fn acl_save(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn acl_save(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Source§fn acl_setuser(
self,
username: impl Serialize,
rules: impl Serialize,
) -> PreparedCommand<'a, Self, ()>
fn acl_setuser( self, username: impl Serialize, rules: impl Serialize, ) -> PreparedCommand<'a, Self, ()>
Source§fn acl_users<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn acl_users<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn acl_whoami<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>where
Self: Sized,
fn acl_whoami<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>where
Self: Sized,
Source§fn bgrewriteaof<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn bgrewriteaof<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn bgsave<R: DeserializeOwned>(
self,
options: BgsaveOptions,
) -> PreparedCommand<'a, Self, R>
fn bgsave<R: DeserializeOwned>( self, options: BgsaveOptions, ) -> PreparedCommand<'a, Self, R>
Source§fn command(self) -> PreparedCommand<'a, Self, Vec<CommandInfo>>where
Self: Sized,
fn command(self) -> PreparedCommand<'a, Self, Vec<CommandInfo>>where
Self: Sized,
Source§fn command_count(self) -> PreparedCommand<'a, Self, usize>where
Self: Sized,
fn command_count(self) -> PreparedCommand<'a, Self, usize>where
Self: Sized,
Source§fn command_docs<R: DeserializeOwned>(
self,
command_names: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn command_docs<R: DeserializeOwned>( self, command_names: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn command_getkeys<R: DeserializeOwned>(
self,
args: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn command_getkeys<R: DeserializeOwned>( self, args: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn command_getkeysandflags<R: DeserializeOwned>(
self,
args: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn command_getkeysandflags<R: DeserializeOwned>( self, args: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn command_help<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>where
Self: Sized,
fn command_help<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>where
Self: Sized,
Source§fn command_info(
self,
command_names: impl Serialize,
) -> PreparedCommand<'a, Self, Vec<CommandInfo>>
fn command_info( self, command_names: impl Serialize, ) -> PreparedCommand<'a, Self, Vec<CommandInfo>>
Source§fn command_list<R: DeserializeOwned>(
self,
options: CommandListOptions<'_>,
) -> PreparedCommand<'a, Self, R>
fn command_list<R: DeserializeOwned>( self, options: CommandListOptions<'_>, ) -> PreparedCommand<'a, Self, R>
Source§fn config_get<R: DeserializeOwned>(
self,
params: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn config_get<R: DeserializeOwned>( self, params: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn config_help(self) -> PreparedCommand<'a, Self, Vec<String>>where
Self: Sized,
fn config_help(self) -> PreparedCommand<'a, Self, Vec<String>>where
Self: Sized,
Source§fn config_resetstat(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn config_resetstat(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Source§fn config_rewrite(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn config_rewrite(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
config_set command. Read moreSource§fn config_set(self, configs: impl Serialize) -> PreparedCommand<'a, Self, ()>
fn config_set(self, configs: impl Serialize) -> PreparedCommand<'a, Self, ()>
Source§fn dbsize(self) -> PreparedCommand<'a, Self, usize>where
Self: Sized,
fn dbsize(self) -> PreparedCommand<'a, Self, usize>where
Self: Sized,
Source§fn failover(self, options: FailOverOptions<'_>) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn failover(self, options: FailOverOptions<'_>) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Source§fn flushdb(
self,
flushing_mode: impl Into<Option<FlushingMode>>,
) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn flushdb(
self,
flushing_mode: impl Into<Option<FlushingMode>>,
) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Source§fn flushall(
self,
flushing_mode: impl Into<Option<FlushingMode>>,
) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn flushall(
self,
flushing_mode: impl Into<Option<FlushingMode>>,
) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Source§fn info<R: DeserializeOwned>(
self,
sections: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn info<R: DeserializeOwned>( self, sections: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn hotkeys_start(
self,
metrics: impl Serialize,
options: HotKeysStartOptions,
) -> PreparedCommand<'a, Self, ()>
fn hotkeys_start( self, metrics: impl Serialize, options: HotKeysStartOptions, ) -> PreparedCommand<'a, Self, ()>
Source§fn hotkeys_stop(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn hotkeys_stop(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
hotkeys_get. Read moreSource§fn hotkeys_get<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn hotkeys_get<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn hotkeys_reset(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn hotkeys_reset(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Source§fn hotkeys_help<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn hotkeys_help<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn lastsave(self) -> PreparedCommand<'a, Self, u64>where
Self: Sized,
fn lastsave(self) -> PreparedCommand<'a, Self, u64>where
Self: Sized,
Source§fn latency_doctor<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>where
Self: Sized,
fn latency_doctor<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>where
Self: Sized,
Source§fn latency_graph<R: DeserializeOwned>(
self,
event: LatencyHistoryEvent,
) -> PreparedCommand<'a, Self, R>where
Self: Sized,
fn latency_graph<R: DeserializeOwned>(
self,
event: LatencyHistoryEvent,
) -> PreparedCommand<'a, Self, R>where
Self: Sized,
Source§fn latency_help<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>where
Self: Sized,
fn latency_help<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>where
Self: Sized,
Source§fn latency_histogram<R: DeserializeOwned>(
self,
commands: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn latency_histogram<R: DeserializeOwned>( self, commands: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn latency_history<R: DeserializeOwned>(
self,
event: LatencyHistoryEvent,
) -> PreparedCommand<'a, Self, R>
fn latency_history<R: DeserializeOwned>( self, event: LatencyHistoryEvent, ) -> PreparedCommand<'a, Self, R>
Source§fn latency_latest<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn latency_latest<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn latency_reset(
self,
events: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn latency_reset( self, events: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn lolwut(self, options: LolWutOptions) -> PreparedCommand<'a, Self, String>where
Self: Sized,
fn lolwut(self, options: LolWutOptions) -> PreparedCommand<'a, Self, String>where
Self: Sized,
Source§fn memory_doctor(self) -> PreparedCommand<'a, Self, String>where
Self: Sized,
fn memory_doctor(self) -> PreparedCommand<'a, Self, String>where
Self: Sized,
Source§fn memory_help(self) -> PreparedCommand<'a, Self, Vec<String>>where
Self: Sized,
fn memory_help(self) -> PreparedCommand<'a, Self, Vec<String>>where
Self: Sized,
Source§fn memory_malloc_stats(self) -> PreparedCommand<'a, Self, String>where
Self: Sized,
fn memory_malloc_stats(self) -> PreparedCommand<'a, Self, String>where
Self: Sized,
Source§fn memory_purge(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn memory_purge(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Source§fn memory_stats(self) -> PreparedCommand<'a, Self, MemoryStats>where
Self: Sized,
fn memory_stats(self) -> PreparedCommand<'a, Self, MemoryStats>where
Self: Sized,
Source§fn memory_usage(
self,
key: impl Serialize,
options: MemoryUsageOptions,
) -> PreparedCommand<'a, Self, Option<usize>>
fn memory_usage( self, key: impl Serialize, options: MemoryUsageOptions, ) -> PreparedCommand<'a, Self, Option<usize>>
Source§fn module_list<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
fn module_list<R: DeserializeOwned>(self) -> PreparedCommand<'a, Self, R>
Source§fn module_loadex(
self,
path: impl Serialize,
options: ModuleLoadexOptions,
) -> PreparedCommand<'a, Self, ()>
fn module_loadex( self, path: impl Serialize, options: ModuleLoadexOptions, ) -> PreparedCommand<'a, Self, ()>
Source§fn module_unload(self, name: impl Serialize) -> PreparedCommand<'a, Self, ()>
fn module_unload(self, name: impl Serialize) -> PreparedCommand<'a, Self, ()>
name reported by module_list, not its
file path. Read moreSource§fn module_help(self) -> PreparedCommand<'a, Self, Vec<String>>where
Self: Sized,
fn module_help(self) -> PreparedCommand<'a, Self, Vec<String>>where
Self: Sized,
Source§fn replicaof(
self,
options: ReplicaOfOptions<'_>,
) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn replicaof(
self,
options: ReplicaOfOptions<'_>,
) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Source§fn role(self) -> PreparedCommand<'a, Self, RoleResult>where
Self: Sized,
fn role(self) -> PreparedCommand<'a, Self, RoleResult>where
Self: Sized,
master, slave, or sentinel. Read moreSource§fn save(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn save(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Source§fn shutdown(self, options: ShutdownOptions) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn shutdown(self, options: ShutdownOptions) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Source§fn slowlog_get(
self,
options: SlowLogGetOptions,
) -> PreparedCommand<'a, Self, Vec<SlowLogEntry>>where
Self: Sized,
fn slowlog_get(
self,
options: SlowLogGetOptions,
) -> PreparedCommand<'a, Self, Vec<SlowLogEntry>>where
Self: Sized,
Source§fn slowlog_help(self) -> PreparedCommand<'a, Self, Vec<String>>where
Self: Sized,
fn slowlog_help(self) -> PreparedCommand<'a, Self, Vec<String>>where
Self: Sized,
Source§fn slowlog_len(self) -> PreparedCommand<'a, Self, usize>where
Self: Sized,
fn slowlog_len(self) -> PreparedCommand<'a, Self, usize>where
Self: Sized,
Source§fn slowlog_reset(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn slowlog_reset(self) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Source§impl<'a> SetCommands<'a> for &'a mut Pipeline<'_>
impl<'a> SetCommands<'a> for &'a mut Pipeline<'_>
Source§fn sadd(
self,
key: impl Serialize,
members: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn sadd( self, key: impl Serialize, members: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn scard(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
fn scard(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
Source§fn sdiff<R: DeserializeOwned>(
self,
keys: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn sdiff<R: DeserializeOwned>( self, keys: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn sdiffstore(
self,
destination: impl Serialize,
keys: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn sdiffstore( self, destination: impl Serialize, keys: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn sinter<R: DeserializeOwned>(
self,
keys: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn sinter<R: DeserializeOwned>( self, keys: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn sintercard(
self,
keys: impl Serialize,
limit: usize,
) -> PreparedCommand<'a, Self, usize>
fn sintercard( self, keys: impl Serialize, limit: usize, ) -> PreparedCommand<'a, Self, usize>
Source§fn sinterstore(
self,
destination: impl Serialize,
keys: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn sinterstore( self, destination: impl Serialize, keys: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn sismember(
self,
key: impl Serialize,
member: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn sismember( self, key: impl Serialize, member: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn smembers<R: DeserializeOwned>(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn smembers<R: DeserializeOwned>( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn smismember<R: DeserializeOwned>(
self,
key: impl Serialize,
members: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn smismember<R: DeserializeOwned>( self, key: impl Serialize, members: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn smove(
self,
source: impl Serialize,
destination: impl Serialize,
member: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn smove( self, source: impl Serialize, destination: impl Serialize, member: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn spop<R: DeserializeOwned>(
self,
key: impl Serialize,
count: usize,
) -> PreparedCommand<'a, Self, R>
fn spop<R: DeserializeOwned>( self, key: impl Serialize, count: usize, ) -> PreparedCommand<'a, Self, R>
Source§fn srandmember<R: DeserializeOwned>(
self,
key: impl Serialize,
count: usize,
) -> PreparedCommand<'a, Self, R>
fn srandmember<R: DeserializeOwned>( self, key: impl Serialize, count: usize, ) -> PreparedCommand<'a, Self, R>
Source§fn srem(
self,
key: impl Serialize,
members: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn srem( self, key: impl Serialize, members: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn sscan<R: DeserializeOwned>(
self,
key: impl Serialize,
cursor: u64,
options: SScanOptions<'_>,
) -> PreparedCommand<'a, Self, (u64, R)>
fn sscan<R: DeserializeOwned>( self, key: impl Serialize, cursor: u64, options: SScanOptions<'_>, ) -> PreparedCommand<'a, Self, (u64, R)>
Source§fn sunion<R: DeserializeOwned>(
self,
keys: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn sunion<R: DeserializeOwned>( self, keys: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn sunionstore(
self,
destination: impl Serialize,
keys: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn sunionstore( self, destination: impl Serialize, keys: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§impl<'a> SortedSetCommands<'a> for &'a mut Pipeline<'_>
impl<'a> SortedSetCommands<'a> for &'a mut Pipeline<'_>
Source§fn zadd(
self,
key: impl Serialize,
items: impl Serialize,
options: ZAddOptions,
) -> PreparedCommand<'a, Self, usize>
fn zadd( self, key: impl Serialize, items: impl Serialize, options: ZAddOptions, ) -> PreparedCommand<'a, Self, usize>
Source§fn zadd_incr(
self,
key: impl Serialize,
condition: impl Into<Option<ZAddCondition>>,
comparison: impl Into<Option<ZAddComparison>>,
change: bool,
score: f64,
member: impl Serialize,
) -> PreparedCommand<'a, Self, Option<f64>>
fn zadd_incr( self, key: impl Serialize, condition: impl Into<Option<ZAddCondition>>, comparison: impl Into<Option<ZAddComparison>>, change: bool, score: f64, member: impl Serialize, ) -> PreparedCommand<'a, Self, Option<f64>>
Source§fn zcard(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
fn zcard(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
Source§fn zcount(
self,
key: impl Serialize,
min: impl Serialize,
max: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn zcount( self, key: impl Serialize, min: impl Serialize, max: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn zdiff<R: DeserializeOwned>(
self,
keys: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn zdiff<R: DeserializeOwned>( self, keys: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn zdiff_with_scores<R: DeserializeOwned>(
self,
keys: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn zdiff_with_scores<R: DeserializeOwned>( self, keys: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn zdiffstore(
self,
destination: impl Serialize,
keys: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn zdiffstore( self, destination: impl Serialize, keys: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn zincrby(
self,
key: impl Serialize,
increment: f64,
member: impl Serialize,
) -> PreparedCommand<'a, Self, f64>
fn zincrby( self, key: impl Serialize, increment: f64, member: impl Serialize, ) -> PreparedCommand<'a, Self, f64>
Source§fn zinter<R: DeserializeOwned>(
self,
keys: impl Serialize,
weights: impl Serialize,
aggregate: impl Into<Option<ZAggregate>>,
) -> PreparedCommand<'a, Self, R>
fn zinter<R: DeserializeOwned>( self, keys: impl Serialize, weights: impl Serialize, aggregate: impl Into<Option<ZAggregate>>, ) -> PreparedCommand<'a, Self, R>
Source§fn zinter_with_scores<R: DeserializeOwned>(
self,
keys: impl Serialize,
weights: impl Serialize,
aggregate: impl Into<Option<ZAggregate>>,
) -> PreparedCommand<'a, Self, R>
fn zinter_with_scores<R: DeserializeOwned>( self, keys: impl Serialize, weights: impl Serialize, aggregate: impl Into<Option<ZAggregate>>, ) -> PreparedCommand<'a, Self, R>
Source§fn zintercard(
self,
keys: impl Serialize,
limit: usize,
) -> PreparedCommand<'a, Self, usize>
fn zintercard( self, keys: impl Serialize, limit: usize, ) -> PreparedCommand<'a, Self, usize>
Source§fn zinterstore(
self,
destination: impl Serialize,
keys: impl Serialize,
weights: impl Serialize,
aggregate: impl Into<Option<ZAggregate>>,
) -> PreparedCommand<'a, Self, usize>
fn zinterstore( self, destination: impl Serialize, keys: impl Serialize, weights: impl Serialize, aggregate: impl Into<Option<ZAggregate>>, ) -> PreparedCommand<'a, Self, usize>
Source§fn zlexcount(
self,
key: impl Serialize,
min: impl Serialize,
max: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn zlexcount( self, key: impl Serialize, min: impl Serialize, max: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn zmpop<R: DeserializeOwned>(
self,
keys: impl Serialize,
where_: ZWhere,
count: usize,
) -> PreparedCommand<'a, Self, Option<ZMPopResult<R>>>
fn zmpop<R: DeserializeOwned>( self, keys: impl Serialize, where_: ZWhere, count: usize, ) -> PreparedCommand<'a, Self, Option<ZMPopResult<R>>>
Source§fn zmscore<R: DeserializeOwned>(
self,
key: impl Serialize,
members: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn zmscore<R: DeserializeOwned>( self, key: impl Serialize, members: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn zpopmax<R: DeserializeOwned>(
self,
key: impl Serialize,
count: usize,
) -> PreparedCommand<'a, Self, R>
fn zpopmax<R: DeserializeOwned>( self, key: impl Serialize, count: usize, ) -> PreparedCommand<'a, Self, R>
Source§fn zpopmin<R: DeserializeOwned>(
self,
key: impl Serialize,
count: usize,
) -> PreparedCommand<'a, Self, R>
fn zpopmin<R: DeserializeOwned>( self, key: impl Serialize, count: usize, ) -> PreparedCommand<'a, Self, R>
Source§fn zrandmember<R: DeserializeOwned>(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn zrandmember<R: DeserializeOwned>( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn zrandmembers<R: DeserializeOwned>(
self,
key: impl Serialize,
count: isize,
) -> PreparedCommand<'a, Self, R>
fn zrandmembers<R: DeserializeOwned>( self, key: impl Serialize, count: isize, ) -> PreparedCommand<'a, Self, R>
Source§fn zrandmembers_with_scores<R: DeserializeOwned>(
self,
key: impl Serialize,
count: isize,
) -> PreparedCommand<'a, Self, R>
fn zrandmembers_with_scores<R: DeserializeOwned>( self, key: impl Serialize, count: isize, ) -> PreparedCommand<'a, Self, R>
Source§fn zrange<R: DeserializeOwned>(
self,
key: impl Serialize,
start: impl Serialize,
stop: impl Serialize,
options: ZRangeOptions,
) -> PreparedCommand<'a, Self, R>
fn zrange<R: DeserializeOwned>( self, key: impl Serialize, start: impl Serialize, stop: impl Serialize, options: ZRangeOptions, ) -> PreparedCommand<'a, Self, R>
key. Read moreSource§fn zrange_with_scores<R: DeserializeOwned>(
self,
key: impl Serialize,
start: impl Serialize,
stop: impl Serialize,
options: ZRangeOptions,
) -> PreparedCommand<'a, Self, R>
fn zrange_with_scores<R: DeserializeOwned>( self, key: impl Serialize, start: impl Serialize, stop: impl Serialize, options: ZRangeOptions, ) -> PreparedCommand<'a, Self, R>
key. Read moreSource§fn zrangestore(
self,
dst: impl Serialize,
src: impl Serialize,
start: impl Serialize,
stop: impl Serialize,
options: ZRangeOptions,
) -> PreparedCommand<'a, Self, usize>
fn zrangestore( self, dst: impl Serialize, src: impl Serialize, start: impl Serialize, stop: impl Serialize, options: ZRangeOptions, ) -> PreparedCommand<'a, Self, usize>
Source§fn zrank(
self,
key: impl Serialize,
member: impl Serialize,
) -> PreparedCommand<'a, Self, Option<usize>>
fn zrank( self, key: impl Serialize, member: impl Serialize, ) -> PreparedCommand<'a, Self, Option<usize>>
Source§fn zrank_with_score(
self,
key: impl Serialize,
member: impl Serialize,
) -> PreparedCommand<'a, Self, Option<(usize, f64)>>
fn zrank_with_score( self, key: impl Serialize, member: impl Serialize, ) -> PreparedCommand<'a, Self, Option<(usize, f64)>>
Source§fn zrem(
self,
key: impl Serialize,
members: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn zrem( self, key: impl Serialize, members: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn zremrangebylex(
self,
key: impl Serialize,
start: impl Serialize,
stop: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn zremrangebylex( self, key: impl Serialize, start: impl Serialize, stop: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn zremrangebyrank(
self,
key: impl Serialize,
start: isize,
stop: isize,
) -> PreparedCommand<'a, Self, usize>
fn zremrangebyrank( self, key: impl Serialize, start: isize, stop: isize, ) -> PreparedCommand<'a, Self, usize>
Source§fn zremrangebyscore(
self,
key: impl Serialize,
start: impl Serialize,
stop: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn zremrangebyscore( self, key: impl Serialize, start: impl Serialize, stop: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn zrevrank(
self,
key: impl Serialize,
member: impl Serialize,
) -> PreparedCommand<'a, Self, Option<usize>>
fn zrevrank( self, key: impl Serialize, member: impl Serialize, ) -> PreparedCommand<'a, Self, Option<usize>>
Source§fn zrevrank_with_score(
self,
key: impl Serialize,
member: impl Serialize,
) -> PreparedCommand<'a, Self, Option<(usize, f64)>>
fn zrevrank_with_score( self, key: impl Serialize, member: impl Serialize, ) -> PreparedCommand<'a, Self, Option<(usize, f64)>>
Source§fn zscan<R: DeserializeOwned>(
self,
key: impl Serialize,
cursor: usize,
options: ZScanOptions<'_>,
) -> PreparedCommand<'a, Self, ZScanResult<R>>
fn zscan<R: DeserializeOwned>( self, key: impl Serialize, cursor: usize, options: ZScanOptions<'_>, ) -> PreparedCommand<'a, Self, ZScanResult<R>>
Source§fn zscore(
self,
key: impl Serialize,
member: impl Serialize,
) -> PreparedCommand<'a, Self, Option<f64>>
fn zscore( self, key: impl Serialize, member: impl Serialize, ) -> PreparedCommand<'a, Self, Option<f64>>
Source§fn zunion<R: DeserializeOwned>(
self,
keys: impl Serialize,
weights: impl Serialize,
aggregate: impl Into<Option<ZAggregate>>,
) -> PreparedCommand<'a, Self, R>
fn zunion<R: DeserializeOwned>( self, keys: impl Serialize, weights: impl Serialize, aggregate: impl Into<Option<ZAggregate>>, ) -> PreparedCommand<'a, Self, R>
Source§fn zunion_with_scores<R: DeserializeOwned>(
self,
keys: impl Serialize,
weights: impl Serialize,
aggregate: impl Into<Option<ZAggregate>>,
) -> PreparedCommand<'a, Self, R>
fn zunion_with_scores<R: DeserializeOwned>( self, keys: impl Serialize, weights: impl Serialize, aggregate: impl Into<Option<ZAggregate>>, ) -> PreparedCommand<'a, Self, R>
Source§fn zunionstore(
self,
destination: impl Serialize,
keys: impl Serialize,
weights: impl Serialize,
aggregate: impl Into<Option<ZAggregate>>,
) -> PreparedCommand<'a, Self, usize>
fn zunionstore( self, destination: impl Serialize, keys: impl Serialize, weights: impl Serialize, aggregate: impl Into<Option<ZAggregate>>, ) -> PreparedCommand<'a, Self, usize>
Source§impl<'a> StreamCommands<'a> for &'a mut Pipeline<'_>
impl<'a> StreamCommands<'a> for &'a mut Pipeline<'_>
Source§fn xack(
self,
key: impl Serialize,
group: impl Serialize,
ids: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn xack( self, key: impl Serialize, group: impl Serialize, ids: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn xnack(
self,
key: impl Serialize,
group: impl Serialize,
mode: XNackMode,
ids: impl Serialize,
options: XNackOptions,
) -> PreparedCommand<'a, Self, usize>
fn xnack( self, key: impl Serialize, group: impl Serialize, mode: XNackMode, ids: impl Serialize, options: XNackOptions, ) -> PreparedCommand<'a, Self, usize>
Source§fn xadd<R: DeserializeOwned>(
self,
key: impl Serialize,
stream_id: impl Serialize,
items: impl Serialize,
options: XAddOptions<'_>,
) -> PreparedCommand<'a, Self, R>
fn xadd<R: DeserializeOwned>( self, key: impl Serialize, stream_id: impl Serialize, items: impl Serialize, options: XAddOptions<'_>, ) -> PreparedCommand<'a, Self, R>
Source§fn xsetid(
self,
key: impl Serialize,
last_id: impl Serialize,
options: XSetIdOptions,
) -> PreparedCommand<'a, Self, ()>
fn xsetid( self, key: impl Serialize, last_id: impl Serialize, options: XSetIdOptions, ) -> PreparedCommand<'a, Self, ()>
Source§fn xcfgset(
self,
key: impl Serialize,
options: XCfgSetOptions,
) -> PreparedCommand<'a, Self, ()>
fn xcfgset( self, key: impl Serialize, options: XCfgSetOptions, ) -> PreparedCommand<'a, Self, ()>
Source§fn xautoclaim<R: DeserializeOwned>(
self,
key: impl Serialize,
group: impl Serialize,
consumer: impl Serialize,
min_idle_time: u64,
start: impl Serialize,
options: XAutoClaimOptions,
) -> PreparedCommand<'a, Self, XAutoClaimResult<R>>
fn xautoclaim<R: DeserializeOwned>( self, key: impl Serialize, group: impl Serialize, consumer: impl Serialize, min_idle_time: u64, start: impl Serialize, options: XAutoClaimOptions, ) -> PreparedCommand<'a, Self, XAutoClaimResult<R>>
Source§fn xclaim<R: DeserializeOwned>(
self,
key: impl Serialize,
group: impl Serialize,
consumer: impl Serialize,
min_idle_time: u64,
ids: impl Serialize,
options: XClaimOptions,
) -> PreparedCommand<'a, Self, R>
fn xclaim<R: DeserializeOwned>( self, key: impl Serialize, group: impl Serialize, consumer: impl Serialize, min_idle_time: u64, ids: impl Serialize, options: XClaimOptions, ) -> PreparedCommand<'a, Self, R>
Source§fn xdel(
self,
key: impl Serialize,
ids: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn xdel( self, key: impl Serialize, ids: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn xdelex(
self,
key: impl Serialize,
policy: impl Into<Option<StreamEntryDeletionPolicy>>,
ids: impl Serialize,
) -> PreparedCommand<'a, Self, Vec<i64>>
fn xdelex( self, key: impl Serialize, policy: impl Into<Option<StreamEntryDeletionPolicy>>, ids: impl Serialize, ) -> PreparedCommand<'a, Self, Vec<i64>>
Source§fn xackdel(
self,
key: impl Serialize,
group: impl Serialize,
policy: impl Into<Option<StreamEntryDeletionPolicy>>,
ids: impl Serialize,
) -> PreparedCommand<'a, Self, Vec<i64>>
fn xackdel( self, key: impl Serialize, group: impl Serialize, policy: impl Into<Option<StreamEntryDeletionPolicy>>, ids: impl Serialize, ) -> PreparedCommand<'a, Self, Vec<i64>>
Source§fn xgroup_create(
self,
key: impl Serialize,
groupname: impl Serialize,
id: impl Serialize,
options: XGroupCreateOptions,
) -> PreparedCommand<'a, Self, bool>
fn xgroup_create( self, key: impl Serialize, groupname: impl Serialize, id: impl Serialize, options: XGroupCreateOptions, ) -> PreparedCommand<'a, Self, bool>
groupname for the stream stored at key. Read moreSource§fn xgroup_createconsumer(
self,
key: impl Serialize,
groupname: impl Serialize,
consumername: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn xgroup_createconsumer( self, key: impl Serialize, groupname: impl Serialize, consumername: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
consumername in the consumer group groupname`` of the stream that's stored at key. Read moreSource§fn xgroup_delconsumer(
self,
key: impl Serialize,
groupname: impl Serialize,
consumername: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn xgroup_delconsumer( self, key: impl Serialize, groupname: impl Serialize, consumername: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn xgroup_destroy(
self,
key: impl Serialize,
groupname: impl Serialize,
) -> PreparedCommand<'a, Self, bool>
fn xgroup_destroy( self, key: impl Serialize, groupname: impl Serialize, ) -> PreparedCommand<'a, Self, bool>
Source§fn xgroup_help(self) -> PreparedCommand<'a, Self, Vec<String>>where
Self: Sized,
fn xgroup_help(self) -> PreparedCommand<'a, Self, Vec<String>>where
Self: Sized,
Source§fn xgroup_setid(
self,
key: impl Serialize,
groupname: impl Serialize,
id: impl Serialize,
entries_read: Option<usize>,
) -> PreparedCommand<'a, Self, ()>
fn xgroup_setid( self, key: impl Serialize, groupname: impl Serialize, id: impl Serialize, entries_read: Option<usize>, ) -> PreparedCommand<'a, Self, ()>
Source§fn xinfo_consumers(
self,
key: impl Serialize,
groupname: impl Serialize,
) -> PreparedCommand<'a, Self, Vec<XConsumerInfo>>
fn xinfo_consumers( self, key: impl Serialize, groupname: impl Serialize, ) -> PreparedCommand<'a, Self, Vec<XConsumerInfo>>
groupname consumer group of the stream stored at key. Read moreSource§fn xinfo_groups(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, Vec<XGroupInfo>>
fn xinfo_groups( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, Vec<XGroupInfo>>
groupname consumer group of the stream stored at key. Read moreSource§fn xinfo_help(self) -> PreparedCommand<'a, Self, Vec<String>>where
Self: Sized,
fn xinfo_help(self) -> PreparedCommand<'a, Self, Vec<String>>where
Self: Sized,
Source§fn xinfo_stream(
self,
key: impl Serialize,
options: XInfoStreamOptions,
) -> PreparedCommand<'a, Self, XStreamInfo>
fn xinfo_stream( self, key: impl Serialize, options: XInfoStreamOptions, ) -> PreparedCommand<'a, Self, XStreamInfo>
key. Read moreSource§fn xlen(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
fn xlen(self, key: impl Serialize) -> PreparedCommand<'a, Self, usize>
Source§fn xpending(
self,
key: impl Serialize,
group: impl Serialize,
) -> PreparedCommand<'a, Self, XPendingResult>
fn xpending( self, key: impl Serialize, group: impl Serialize, ) -> PreparedCommand<'a, Self, XPendingResult>
Source§fn xpending_with_options<R: DeserializeOwned>(
self,
key: impl Serialize,
group: impl Serialize,
options: XPendingOptions<'_>,
) -> PreparedCommand<'a, Self, R>
fn xpending_with_options<R: DeserializeOwned>( self, key: impl Serialize, group: impl Serialize, options: XPendingOptions<'_>, ) -> PreparedCommand<'a, Self, R>
Source§fn xrange<R: DeserializeOwned>(
self,
key: impl Serialize,
start: impl Serialize,
end: impl Serialize,
count: Option<usize>,
) -> PreparedCommand<'a, Self, R>
fn xrange<R: DeserializeOwned>( self, key: impl Serialize, start: impl Serialize, end: impl Serialize, count: Option<usize>, ) -> PreparedCommand<'a, Self, R>
Source§fn xread<R: DeserializeOwned>(
self,
options: XReadOptions,
keys: impl Serialize,
ids: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn xread<R: DeserializeOwned>( self, options: XReadOptions, keys: impl Serialize, ids: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn xreadgroup<R: DeserializeOwned>(
self,
group: impl Serialize,
consumer: impl Serialize,
options: XReadGroupOptions,
keys: impl Serialize,
ids: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn xreadgroup<R: DeserializeOwned>( self, group: impl Serialize, consumer: impl Serialize, options: XReadGroupOptions, keys: impl Serialize, ids: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn xrevrange<R: DeserializeOwned>(
self,
key: impl Serialize,
end: impl Serialize,
start: impl Serialize,
count: Option<usize>,
) -> PreparedCommand<'a, Self, R>
fn xrevrange<R: DeserializeOwned>( self, key: impl Serialize, end: impl Serialize, start: impl Serialize, count: Option<usize>, ) -> PreparedCommand<'a, Self, R>
Source§fn xtrim(
self,
key: impl Serialize,
options: XTrimOptions<'_>,
) -> PreparedCommand<'a, Self, usize>
fn xtrim( self, key: impl Serialize, options: XTrimOptions<'_>, ) -> PreparedCommand<'a, Self, usize>
Source§impl<'a> StringCommands<'a> for &'a mut Pipeline<'_>
impl<'a> StringCommands<'a> for &'a mut Pipeline<'_>
Source§fn append(
self,
key: impl Serialize,
value: impl Serialize,
) -> PreparedCommand<'a, Self, usize>
fn append( self, key: impl Serialize, value: impl Serialize, ) -> PreparedCommand<'a, Self, usize>
Source§fn decr(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
fn decr(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
Source§fn decrby(
self,
key: impl Serialize,
decrement: i64,
) -> PreparedCommand<'a, Self, i64>
fn decrby( self, key: impl Serialize, decrement: i64, ) -> PreparedCommand<'a, Self, i64>
Source§fn get<R: DeserializeOwned>(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn get<R: DeserializeOwned>( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn getdel<R: DeserializeOwned>(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn getdel<R: DeserializeOwned>( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn digest<R: DeserializeOwned>(
self,
key: impl Serialize,
) -> PreparedCommand<'a, Self, R>
fn digest<R: DeserializeOwned>( self, key: impl Serialize, ) -> PreparedCommand<'a, Self, R>
Source§fn delex<'b>(
self,
key: impl Serialize,
condition: impl Into<Option<DelexCondition<'b>>>,
) -> PreparedCommand<'a, Self, i64>
fn delex<'b>( self, key: impl Serialize, condition: impl Into<Option<DelexCondition<'b>>>, ) -> PreparedCommand<'a, Self, i64>
key based on a value or digest comparison. Read moreSource§fn getex<R: DeserializeOwned>(
self,
key: impl Serialize,
options: GetExOptions,
) -> PreparedCommand<'a, Self, R>
fn getex<R: DeserializeOwned>( self, key: impl Serialize, options: GetExOptions, ) -> PreparedCommand<'a, Self, R>
Source§fn getrange<R: DeserializeOwned>(
self,
key: impl Serialize,
start: isize,
end: isize,
) -> PreparedCommand<'a, Self, R>
fn getrange<R: DeserializeOwned>( self, key: impl Serialize, start: isize, end: isize, ) -> PreparedCommand<'a, Self, R>
Source§fn incr(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
fn incr(self, key: impl Serialize) -> PreparedCommand<'a, Self, i64>
Source§fn incrby(
self,
key: impl Serialize,
increment: i64,
) -> PreparedCommand<'a, Self, i64>
fn incrby( self, key: impl Serialize, increment: i64, ) -> PreparedCommand<'a, Self, i64>
Source§fn increx<R: DeserializeOwned>(
self,
key: impl Serialize,
options: IncrExOptions,
) -> PreparedCommand<'a, Self, R>
fn increx<R: DeserializeOwned>( self, key: impl Serialize, options: IncrExOptions, ) -> PreparedCommand<'a, Self, R>
key, bounded, and set its expiration, atomically. Read more