Expand description
Various client utility functions.
Constants§
- A convenience constant for
Nonevalues used as generic arguments.
Functions§
- Convert an
f64to a redis string, supporting “+inf” and “-inf”. - Group the provided arguments by their cluster hash slot.
- Map a key to the corresponding cluster key slot.
- Convert a redis string to an
f64, supporting “+inf” and “-inf”. - sha1_
hash sha-1Calculate the SHA1 hash output as a hex string. This is provided for clients that use the Lua interface to manage their own script caches. - Create a
Bytesfrom static bytes without copying. - Create a
Strfrom a static str slice without copying.