Trait p25::voice::frame_group::Extra
[−]
[src]
pub trait Extra { type Fields; fn decode_rs<'a>(
buf: &'a mut [Hexbit; 24],
s: &mut Stats
) -> Result<&'a [Hexbit]>; fn decode_extra(buf: &[Hexbit]) -> Self::Fields; }
An "extra" information packet carried along in a frame group.
Associated Types
type Fields
Base decoder for the packet.
Required Methods
fn decode_rs<'a>(
buf: &'a mut [Hexbit; 24],
s: &mut Stats
) -> Result<&'a [Hexbit]>
buf: &'a mut [Hexbit; 24],
s: &mut Stats
) -> Result<&'a [Hexbit]>
Decode the inner Reed Soloman code.
fn decode_extra(buf: &[Hexbit]) -> Self::Fields
Transform the given hexbits into a base packet decoder.
Implementors
impl Extra for LinkControlExtra type Fields = LinkControlFields;
impl Extra for CryptoControlExtra type Fields = CryptoControlFields;