Enum p25::data::fields::DataPacketOpcode [] [src]

pub enum DataPacketOpcode {
    ConfirmedPacket,
    UnconfirmedPacket,
    ResponsePacket,
    TrunkingPacket,
}

Data packet type present in every header.

Variants

Confirmed packet that requires an acknowledgement response from the recipient.

Unconfirmed packet that doesn't require an acknowledgement response from the recipient.

Response to the sender of a confirmed data packet.

Multiblock trunking data packet.

Methods

impl DataPacketOpcode
[src]

[src]

Convert packet type to its 5-bit representation.

[src]

Parse a packet type from the given 5 bits.

Trait Implementations

impl Copy for DataPacketOpcode
[src]

impl Clone for DataPacketOpcode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for DataPacketOpcode
[src]

impl PartialEq for DataPacketOpcode
[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 !=.

impl Debug for DataPacketOpcode
[src]

[src]

Formats the value using the given formatter. Read more