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

pub enum DataUnit {
    VoiceHeader,
    VoiceSimpleTerminator,
    VoiceLCTerminator,
    VoiceLCFrameGroup,
    VoiceCCFrameGroup,
    DataPacket,
    TrunkingSignaling,
}

Data unit of associated packet.

Variants

Voice header packet.

Simple terminator packet.

Terminator packet with link control word.

Link control voice frame group.

Crypto control voice frame group.

Confirmed/Unconfirmed data packet

Trunking signalling packet.

Methods

impl DataUnit
[src]

[src]

Parse 4 bits into a data unit type.

[src]

Convert data unit to 4-bit word.

Trait Implementations

impl Copy for DataUnit
[src]

impl Clone for DataUnit
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DataUnit
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for DataUnit
[src]

impl PartialEq for DataUnit
[src]

[src]

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

1.0.0
[src]

This method tests for !=.