Skip to main content

Module command

Module command 

Source
Expand description

Command parsing from RESP3 frames.

Converts a parsed [Frame] (expected to be an array) into a typed Command enum. This keeps protocol-level concerns separate from the engine that actually executes commands.

Structs§

BitRange
Range argument for BITCOUNT and BITPOS.
ZAddFlags
Flags for the ZADD command.

Enums§

BitOpKind
Operation kind for BITOP.
BitRangeUnit
Unit for BITCOUNT and BITPOS range arguments.
Command
A parsed client command, ready for execution.
ScoreBound
A score bound for sorted set range queries (ZRANGEBYSCORE, ZCOUNT, etc.).
SetExpire
Expiration option for the SET and GETEX commands.