usezb_nwk::Source;/// Key for an in-progress APS defragmentation transaction.
////// APS counters are scoped by source, so both the NWK source and APS counter
/// are required to distinguish transactions.
#[derive(Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]pubstructIndex{source: Source,
counter:u8,
}implIndex{/// Create a new transaction index.
#[must_use]pubconstfnnew(source: Source, counter:u8)->Self{Self{ source, counter }}}