Available on crate feature
cluster
only.Expand description
Routing information for cluster commands.
Structs§
Enums§
- Aggregate
Op - Numerical aggreagting operators.
- Logical
Aggregate Op - Logical bitwise aggregating operators.
- Multiple
Node Routing Info - Defines which collection of nodes should receive a request
- Response
Policy - Policy defining how to combine multiple responses into one.
- Routing
Info - Defines whether a request should be routed to a single node, or multiple ones.
- Single
Node Routing Info - Defines which single node should receive a request.
- Slot
Addr - What type of node should a request be routed to.
Traits§
- Routable
- Objects that implement this trait define a request that can be routed by a cluster client to different nodes in the cluster.
Functions§
- command_
for_ multi_ slot_ indices - Splits a command into a sub-command that won’t generate a CROSSLOTS error.
- get_
slot - Returns the slot that matches
key
.