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
//! SI-specific traits. `Parse` is provided by `broadcast_core`
//! and imported directly at call sites.
use Parse;
/// Implemented by every typed descriptor; drives [`crate::descriptors::AnyDescriptor`]
/// dispatch. `TAG` is the wire descriptor_tag this type parses.
///
/// Open on purpose: an outside crate implements it for a private-tag descriptor and
/// registers it with [`DescriptorRegistry`][crate::descriptors::DescriptorRegistry].
/// A new item on this trait always has a default.
/// Implemented by every typed table-section parser; drives
/// [`crate::tables::AnyTableSection`] dispatch. `TABLE_ID_RANGES` lists the
/// inclusive `(lo, hi)` table_id ranges this type accepts.
///
/// Open on purpose: third-party types implement this trait to register private
/// table_ids via [`TableRegistry`][crate::tables::TableRegistry]. A new item on
/// this trait always has a default.