#[repr(u8)]pub enum BearerType {
Unknown = 0,
Sms = 1,
Csd = 2,
PacketData = 3,
Ussd = 4,
Cdpd = 5,
DataTac = 6,
FlexReFlex = 7,
CellBroadcast = 8,
Other(u8),
}Variants§
Unknown = 0
Sms = 1
Csd = 2
PacketData = 3
Ussd = 4
Cdpd = 5
DataTac = 6
FlexReFlex = 7
CellBroadcast = 8
Other(u8)
Trait Implementations§
Source§impl Clone for BearerType
impl Clone for BearerType
Source§fn clone(&self) -> BearerType
fn clone(&self) -> BearerType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BearerType
Source§impl Debug for BearerType
impl Debug for BearerType
Source§impl<'a> Decode<'a> for BearerType
impl<'a> Decode<'a> for BearerType
Source§fn decode(src: &'a [u8]) -> Result<(BearerType, usize), DecodeError>
fn decode(src: &'a [u8]) -> Result<(BearerType, usize), DecodeError>
Decode a value from a slice.
Source§impl Default for BearerType
impl Default for BearerType
Source§fn default() -> BearerType
fn default() -> BearerType
Returns the “default value” for a type. Read more
Source§impl Encode for BearerType
impl Encode for BearerType
impl Eq for BearerType
Source§impl From<u8> for BearerType
impl From<u8> for BearerType
Source§fn from(value: u8) -> BearerType
fn from(value: u8) -> BearerType
Converts to this type from the input type.
Source§impl Hash for BearerType
impl Hash for BearerType
Source§impl Ord for BearerType
impl Ord for BearerType
Source§fn cmp(&self, other: &BearerType) -> Ordering
fn cmp(&self, other: &BearerType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BearerType
impl PartialEq for BearerType
Source§impl PartialOrd for BearerType
impl PartialOrd for BearerType
impl StructuralPartialEq for BearerType
Auto Trait Implementations§
impl Freeze for BearerType
impl RefUnwindSafe for BearerType
impl Send for BearerType
impl Sync for BearerType
impl Unpin for BearerType
impl UnsafeUnpin for BearerType
impl UnwindSafe for BearerType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more