ts_103_636_utils/lib.rs
1//! <!--
2//! SPDX-FileCopyrightText: Copyright Christian Amsüss <chrysn@fsfe.org>, Silano Systems
3//! SPDX-License-Identifier: MIT OR Apache-2.0
4//! -->
5//! This crate contains protocol utilities ETSI TS 103-636 "DECT-2020 New Radio (NR)".
6#![no_std]
7
8pub mod mac_ie;
9pub mod mac_pdu;
10
11/// Something in the input data structure violated this crate's expectation of what specification
12/// compliant input should look like.
13///
14/// As this is not an actionable error, it has no inner structure.
15#[derive(Copy, Clone, Debug)]
16pub struct ParsingError;
17
18/// An input slice mismatches the length usable the requested data item.
19#[derive(Copy, Clone, Debug)]
20pub struct InputLengthError;