1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! Matter TLV tag forms.
//!
//! All five tag forms from the Matter Core Specification §A.2 are
//! represented here. The wire format has separate 2-byte / 4-byte
//! sub-variants for `CommonProfile`/`ImplicitProfile` and 6-byte /
//! 8-byte sub-variants for `FullyQualified`; the public enum collapses
//! those under a single variant per form, and the writer picks the
//! minimum-width sub-variant from the value.
/// A Matter TLV tag.
///
/// The enum is marked `#[non_exhaustive]` so adding hypothetical future
/// variants is not a breaking change for downstream `match` expressions.