Module maelstrom::protocol

source ·

Structs

  • ErrorMessageBody represents the error response body.
  • InitMessageBody represents the message body for the “init” message.
  • Message represents a message sent from Src node to Dest node. The body is stored as parsed MessageBody along with the original string and all extra fields.
  • MessageBody represents the reserved keys for a message body.

Functions