gbp_core/ids.rs
1//! Identifier type aliases used across the stack.
2
3/// Group identifier. On the wire, a 16-byte big-endian unsigned integer.
4pub type GroupId = [u8; 16];
5
6/// Application-level group member identifier.
7pub type MemberId = u32;
8
9/// Group epoch counter. Strictly increases after every accepted MLS commit.
10pub type Epoch = u64;
11
12/// Identifier of a pending or applied control plane transition.
13pub type TransitionId = u32;
14
15/// Logical stream identifier within a session.
16pub type StreamId = u32;
17
18/// Per-stream monotonic sequence number used for the replay window.
19pub type SequenceNo = u32;