Enum p25::message::nid::NetworkAccessCode [] [src]

pub enum NetworkAccessCode {
    Default,
    ReceiveAny,
    RepeatAny,
    Other(u16),
}

"Digital squelch" NAC field of the NID.

Variants

Default P25 NAC.

Allows receiver to unsquelch on any NAC (shouldn't be transmitted.)

Allows repeater to unsquelch/retransmit any NAC (shouldn't be transmitted.)

Custom NAC.

Methods

impl NetworkAccessCode
[src]

[src]

Parse 12 bits into a NAC.

[src]

Convert NAC to a 12-bit word.

Trait Implementations

impl Copy for NetworkAccessCode
[src]

impl Clone for NetworkAccessCode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NetworkAccessCode
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for NetworkAccessCode
[src]

impl PartialEq for NetworkAccessCode
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.