Function redis::cluster_routing::command_for_multi_slot_indices
source · pub fn command_for_multi_slot_indices<'a, 'b>(
original_cmd: &'a impl Routable,
indices: impl Iterator<Item = &'b usize> + 'a
) -> Cmdwhere
'b: 'a,
Expand description
Takes a routable and an iterator of indices, which is assued to be created fromMultipleNodeRoutingInfo::MultiSlot
,
and returns a command with the arguments matching the indices.