Enum p25::trunking::tsbk::TsbkOpcode
[−]
[src]
pub enum TsbkOpcode {
GroupVoiceGrant,
GroupVoiceUpdate,
GroupVoiceUpdateExplicit,
UnitVoiceGrant,
UnitCallRequest,
UnitVoiceUpdate,
PhoneGrant,
PhoneAlert,
UnitDataGrant,
GroupDataGrant,
GroupDataUpdate,
GroupDataUpdateExplicit,
UnitStatusUpdate,
UnitStatusQuery,
UnitShortMessage,
UnitMonitor,
UnitCallAlert,
AckResponse,
QueuedResponse,
ExtendedFunctionResponse,
DenyResponse,
GroupAffiliationResponse,
GroupAffiliationQuery,
LocRegResponse,
UnitRegResponse,
UnitRegCommand,
UnitAuthCommand,
UnitDeregAck,
RoamingAddrCommand,
RoamingAddrUpdate,
SystemServiceBroadcast,
AltControlChannel,
RfssStatusBroadcast,
NetworkStatusBroadcast,
AdjacentSite,
ChannelParamsUpdate,
ProtectionParamBroadcast,
ProtectionParamUpdate,
Reserved,
}Type of a TSBK payload.
Variants
GroupVoiceGrantGroupVoiceUpdateGroupVoiceUpdateExplicitUnitVoiceGrantUnitCallRequestUnitVoiceUpdatePhoneGrantPhoneAlertUnitDataGrantGroupDataGrantGroupDataUpdateGroupDataUpdateExplicitUnitStatusUpdateUnitStatusQueryUnitShortMessageUnitMonitorUnitCallAlertAckResponseQueuedResponseExtendedFunctionResponseDenyResponseGroupAffiliationResponseGroupAffiliationQueryLocRegResponseUnitRegResponseUnitRegCommandUnitAuthCommandUnitDeregAckRoamingAddrCommandRoamingAddrUpdateSystemServiceBroadcastAltControlChannelRfssStatusBroadcastNetworkStatusBroadcastAdjacentSiteChannelParamsUpdateProtectionParamBroadcastProtectionParamUpdateReserved
Methods
impl TsbkOpcode[src]
pub fn from_bits(bits: u8) -> Option<TsbkOpcode>[src]
Try to parse an opcode from the given 6 bits.
Trait Implementations
impl Copy for TsbkOpcode[src]
impl Clone for TsbkOpcode[src]
fn clone(&self) -> TsbkOpcode[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for TsbkOpcode[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more