Add a constant for this serialization version
This commit is contained in:
parent
0e77df1e40
commit
4f2b53d838
|
@ -78,6 +78,8 @@ enum MsgType {
|
||||||
/// The numeric values used to identify the protocol version during serialization.
|
/// The numeric values used to identify the protocol version during serialization.
|
||||||
struct MsgVersion(u8);
|
struct MsgVersion(u8);
|
||||||
|
|
||||||
|
const BASIC_FROST_SERIALIZATION: MsgVersion = MsgVersion(0);
|
||||||
|
|
||||||
/// The numeric values used to identify each participant during serialization.
|
/// The numeric values used to identify each participant during serialization.
|
||||||
struct ParticipantId(u8);
|
struct ParticipantId(u8);
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue