Command Parsing #4

Open
opened 2026-06-28 19:24:35 +02:00 by bitwise · 0 comments
Owner

Turn a parsed DataType into a typed command

  • Implement CmdType enum with variants for each command
  • Implement Command::from_resp(DataType) -> Result<Command, RedisError>
  • Implement CmdType::from_command(Command) -> Result<CmdType, RedisError>
  • Validate arg counts and types per command
Turn a parsed DataType into a typed command - [ ] Implement CmdType enum with variants for each command - [ ] Implement Command::from_resp(DataType) -> Result<Command, RedisError> - [ ] Implement CmdType::from_command(Command) -> Result<CmdType, RedisError> - [ ] Validate arg counts and types per command
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bitwise/Rustdis#4
No description provided.