Enum p25::message::receiver::MessageEvent
[−]
[src]
pub enum MessageEvent { Error(P25Error), PacketNID(NetworkId), VoiceHeader(VoiceHeaderFields), VoiceFrame(VoiceFrame), LinkControl(LinkControlFields), CryptoControl(CryptoControlFields), LowSpeedDataFragment(u32), TrunkingControl(TsbkFields), VoiceTerm(LinkControlFields), }
Events that can occur when receiving P25 messages.
Variants
Error(P25Error)
A runtime error occured.
PacketNID(NetworkId)
An NID at the start of a packet was decoded.
VoiceHeader(VoiceHeaderFields)
A voice header was received.
VoiceFrame(VoiceFrame)
A voice frame was received.
LinkControl(LinkControlFields)
A link control word was decoded.
CryptoControl(CryptoControlFields)
A crypto control word was decoded.
LowSpeedDataFragment(u32)
A voice low-speed data fragment was decoded.
TrunkingControl(TsbkFields)
A trunking signalling packet was received.
VoiceTerm(LinkControlFields)
A voice terminator link control was received.