Crate ts_103_636_numbers

Crate ts_103_636_numbers 

Source
Expand description

This crate contains numeric constants for ETSI TS 103-636 “DECT-2020 New Radio (NR)”.

This encompasses bitfield values from the specification itself as well as entries in the extensible DECT-2020 NR Endpoint Multiplexing Address Allocation mapping.

This crate tries to strike a balance between not being opinionated in terms of types and being practical: It uses newtypes of the minimal suitable bit length to express constants, which provide Debug implementations that may include a lot of code (relying on dead code eliminiation to not weigh down users needlessly).

Modules§

endpoint_multiplexing
Allocations in the DECT-2020 NR Endpoint Multiplexing Address Allocation mapping.
mac_ie
IE (Information Element) type
mac_pdu
Various bitfield constants of Section 6.3 of ETSI TS 103 636-4 V2.1.1

Structs§

ExcessiveBitsSet
Error used in fallible construction when bits that should have been masked as part of processing an incoming data structure are set, eg. when the MSB of an u8 is set when it gets passed into the constructor of a 6-bit long field’s value.