jepsen-io / maelstrom

A workbench for writing toy implementations of distributed systems.
Eclipse Public License 1.0
3.05k stars 189 forks source link

Separate Request and Response enums in Rust demo #86

Closed viktaur closed 10 months ago

viktaur commented 10 months ago

Hi, in the Rust demo, I feel like the variants representing responses from the server, such as ReadOk or AddOk, would be better suited in a separate Response enum, as they are not expected from a client's request.

aphyr commented 10 months ago

Righto!