Enum p25::message::status::StatusCode
[−]
[src]
pub enum StatusCode {
InboundIdle,
InboundBusy,
SubscriberRepeater,
SubscriberDirect,
}A P25 status symbol.
Variants
InboundIdleUsed by a repeater when the inbound channel is idle.
InboundBusyUsed by a repeater when the inbound channel is busy.
SubscriberRepeaterUsed when a subscriber is transmitting to a repeater.
SubscriberDirectUsed when a subscriber is transmitting directly to another subscriber.
Methods
impl StatusCode[src]
pub fn from_dibit(d: Dibit) -> StatusCode[src]
Parse a status code from the given dibit.
pub fn to_dibit(self) -> Dibit[src]
Convert the current status code into a dibit.
Trait Implementations
impl Copy for StatusCode[src]
impl Clone for StatusCode[src]
fn clone(&self) -> StatusCode[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 StatusCode[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more