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
43
44
45
46
47
48
49
50
51
52
53
//! Draft-16 specific types.
/// Object status values, from MoQ Transport draft-16 Section 10.2.1.1
/// "Object Status".
///
/// Draft-16 is where the status set narrows to three: it assigns 0x0, 0x3 and
/// 0x4 only. Object Does Not Exist (0x1), assigned by every draft from 07
/// through 15, is gone — draft-16 rewrites the section around a publisher
/// "explicitly communicate that a specific range of objects does not exist" and
/// drops the per-object form. Of every other value the section says: "Any other
/// value SHOULD be treated as a protocol error and the session SHOULD be closed
/// with a PROTOCOL_VIOLATION". [`ObjectStatus::from_u64`] answers `None` for
/// 0x1, for 0x2, and for everything else the draft leaves unassigned.