We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5448837 commit f153816Copy full SHA for f153816
src/control_packet.rs
@@ -11,11 +11,13 @@ bitfield! {
11
/// Is the packet a request?
12
pub rq, set_rq : 0, 0;
13
/// Is this packet a datagram?
14
- d, set_d: 1, 1;
15
- rsvd, _: 2, 2;
16
- instance_id, set_instance_id: 7, 3;
+ pub d, set_d: 1, 1;
+ /// Reserved bits
+ pub rsvd, _: 2, 2;
17
+ /// Instance ID
18
+ pub instance_id, set_instance_id: 7, 3;
19
/// The command code of the packet
- command_code, set_command_code: 15, 8;
20
+ pub command_code, set_command_code: 15, 8;
21
}
22
23
/// A list of supported Command Codes
0 commit comments