Module redis::cluster_routing

source ·
Expand description

Routing information for cluster commands.

Structs§

  • Defines the slot and the SlotAddr to which a command should be sent

Enums§

Traits§

  • Objects that implement this trait define a request that can be routed by a cluster client to different nodes in the cluster.

Functions§

  • 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.
  • Returns the slot that matches key.