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
//! # GREASE Values for MLS
//!
//! This module defines the GREASE (Generate Random Extensions And Sustain
//! Extensibility) values as specified in [RFC 9420 Section 13.5](https://www.rfc-editor.org/rfc/rfc9420.html#section-13.5).
//!
//! GREASE values are used to ensure that implementations properly handle
//! unknown values and maintain extensibility.
/// All valid GREASE values as defined in RFC 9420.
/// These follow the pattern 0x_A_A where _ is 0-E.
pub const GREASE_VALUES: = ;
/// Checks if a given u16 value is a valid GREASE value.
///
/// GREASE values follow the pattern where both bytes are of the form 0x_A,
/// where the high nibble can be 0-E (0x0A0A through 0xEAEA).
pub const