Enum p25::trunking::fields::TalkGroup
[−]
[src]
pub enum TalkGroup { Nobody, Default, Everbody, Other(u16), }
Identifies which group a message belongs to.
In a production P25 system, users can set their radios to receive one or more talkgroups, and the radio will only unsquelch if one of those talkgroups is seen. Additionally, the user directs each transmission to a talkgroup selected on the radio.
Variants
Nobody
Includes nobody.
Default
Default talkgroup when no other is selected.
Everbody
Includes everybody.
Other(u16)
Specific group of users.
Methods
impl TalkGroup
[src]
pub fn new(bytes: &[u8]) -> TalkGroup
[src]
Parse a talkgroup from the given 16 bit slice.
pub fn from_bits(bits: u16) -> TalkGroup
[src]
Parse a talkgroup from the given 16 bits.
Trait Implementations
impl Copy for TalkGroup
[src]
impl Clone for TalkGroup
[src]
fn clone(&self) -> TalkGroup
[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 TalkGroup
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more