#[non_exhaustive]pub enum FunctionBody<'a> {
AcePapr(AcePaprBody),
MisoGroup(MisoGroupBody),
TrPapr(TrPaprBody),
L1AcePapr(L1AcePaprBody),
TxSigFefSeqNum(TxSigFefSeqNumBody),
TxSigAuxStreamTxId(TxSigAuxStreamTxIdBody),
Frequency(FrequencyBody),
Raw(&'a [u8]),
}Expand description
Parsed function body — typed for known tags, raw for unknown/reserved or length-mismatched entries.
Typed variants correspond to the function bodies whose wire layouts are
defined in ETSI TS 102 773 §5.2.8.2 Tables 7–12b. FunctionBody::Raw
is the escape for:
- tags not in
AddressingFunctionTag(reserved / private), - tags in
AddressingFunctionTagwhose body layout is not vendored (e.g. 0x00–0x06), or - a known tag whose
function_lengthdoesn’t match the expected body size (future extension).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AcePapr(AcePaprBody)
ACE-PAPR (tag 0x10) — §5.2.8.2.2, Table 7.
MisoGroup(MisoGroupBody)
MISO group (tag 0x11) — §5.2.8.2.2, Table 8.
TrPapr(TrPaprBody)
TR-PAPR (tag 0x12) — §5.2.8.2.4, Table 9.
L1AcePapr(L1AcePaprBody)
L1-ACE-PAPR (tag 0x13) — §5.2.8.2.5, Table 10.
TxSigFefSeqNum(TxSigFefSeqNumBody)
TX-SIG FEF sequence numbers (tag 0x15) — §5.2.8.2.5, Table 11.
TxSigAuxStreamTxId(TxSigAuxStreamTxIdBody)
TX-SIG auxiliary stream transmitter ID (tag 0x16) — §5.2.9, Table 12a.
Frequency(FrequencyBody)
Frequency (tag 0x17) — §5.2.9, Table 12b.
Raw(&'a [u8])
Unknown/reserved tag or known tag with unexpected function_length.
body is the raw function body bytes (after tag + length, exactly
function_length bytes).
Trait Implementations§
Source§impl<'a> Clone for FunctionBody<'a>
impl<'a> Clone for FunctionBody<'a>
Source§fn clone(&self) -> FunctionBody<'a>
fn clone(&self) -> FunctionBody<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'a> Debug for FunctionBody<'a>
impl<'a> Debug for FunctionBody<'a>
impl<'a> Eq for FunctionBody<'a>
Source§impl<'a> PartialEq for FunctionBody<'a>
impl<'a> PartialEq for FunctionBody<'a>
Source§fn eq(&self, other: &FunctionBody<'a>) -> bool
fn eq(&self, other: &FunctionBody<'a>) -> bool
self and other values to be equal, and is used by ==.