Struct p25::trunking::fields::SystemServices
[−]
[src]
pub struct SystemServices(_);
Supported services of a control channel.
Methods
impl SystemServices
[src]
pub fn new(ssc: u8) -> Self
[src]
Create a new SystemServices
from the given byte.
pub fn is_composite(&self) -> bool
[src]
Whether channel can also operate as a traffic channel in busy conditions.
pub fn updates_only(&self) -> bool
[src]
Whether channel only transmits updates (and doesn't accept data, voice, etc. service requests.)
pub fn is_backup(&self) -> bool
[src]
Whether channel operates only as backup to a primary control channel.
pub fn has_data(&self) -> bool
[src]
Supports data service requests.
pub fn has_voice(&self) -> bool
[src]
Supports voice service requests.
pub fn has_registration(&self) -> bool
[src]
Supports registration requests.
pub fn has_auth(&self) -> bool
[src]
Supports authentication requests.
Trait Implementations
impl Copy for SystemServices
[src]
impl Clone for SystemServices
[src]
fn clone(&self) -> SystemServices
[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 SystemServices
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for SystemServices
[src]
impl PartialEq for SystemServices
[src]
fn eq(&self, __arg_0: &SystemServices) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SystemServices) -> bool
[src]
This method tests for !=
.