Skip to main content

Module msg_type

Module msg_type 

Source
Expand description

Message type discriminant.

Every datastore-bound request and response carries a MsgType tag that identifies which command or reply class the message belongs to. The variants and their integer indices and string spellings form a stable, ordered codec so the integer indices and the names returned by MsgType::name stay compatible across releases.

The enum is exhaustive: 182 named variants plus the trailing EndIdx sentinel. Helpers are provided to round-trip integer indices and to classify a tag as a request or a response.

Enumsยง

MsgType
Message type discriminant.