Struct p25::trunking::fields::ServiceOptions
[−]
[src]
pub struct ServiceOptions(_);
Options that can be requested/granted by a service.
Methods
impl ServiceOptions
[src]
pub fn new(opts: u8) -> ServiceOptions
[src]
Create a new ServiceOptions
based on the given byte.
pub fn emergency(&self) -> bool
[src]
Whether the service should be processed as an emergency.
pub fn protected(&self) -> bool
[src]
Whether the channel should be encrypted.
pub fn full_duplex(&self) -> bool
[src]
Whether the channel should be full duplex for simultaneous transmit and receive (otherwise fall back to half duplex.)
pub fn packet_switched(&self) -> bool
[src]
Whether the service should be packet switched (otherwise fall back to circuit switched.)
pub fn prio(&self) -> u8
[src]
Priority assigned to service, with 1 as lowest and 7 as highest.