#[repr(u8)]pub enum NetworkType {
Unknown = 0,
Gsm = 1,
Ansi136 = 2,
Is95 = 3,
Pdc = 4,
Phs = 5,
IDen = 6,
Amps = 7,
PagingNetwork = 8,
Other(u8),
}Variants§
Unknown = 0
Gsm = 1
Ansi136 = 2
Is95 = 3
Pdc = 4
Phs = 5
IDen = 6
Amps = 7
PagingNetwork = 8
Other(u8)
Trait Implementations§
Source§impl Clone for NetworkType
impl Clone for NetworkType
Source§fn clone(&self) -> NetworkType
fn clone(&self) -> NetworkType
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 NetworkType
Source§impl Debug for NetworkType
impl Debug for NetworkType
Source§impl<'a> Decode<'a> for NetworkType
impl<'a> Decode<'a> for NetworkType
Source§fn decode(src: &'a [u8]) -> Result<(NetworkType, usize), DecodeError>
fn decode(src: &'a [u8]) -> Result<(NetworkType, usize), DecodeError>
Decode a value from a slice.
Source§impl Default for NetworkType
impl Default for NetworkType
Source§fn default() -> NetworkType
fn default() -> NetworkType
Returns the “default value” for a type. Read more
Source§impl Encode for NetworkType
impl Encode for NetworkType
impl Eq for NetworkType
Source§impl From<u8> for NetworkType
impl From<u8> for NetworkType
Source§fn from(value: u8) -> NetworkType
fn from(value: u8) -> NetworkType
Converts to this type from the input type.
Source§impl Hash for NetworkType
impl Hash for NetworkType
Source§impl Ord for NetworkType
impl Ord for NetworkType
Source§fn cmp(&self, other: &NetworkType) -> Ordering
fn cmp(&self, other: &NetworkType) -> 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 NetworkType
impl PartialEq for NetworkType
Source§impl PartialOrd for NetworkType
impl PartialOrd for NetworkType
impl StructuralPartialEq for NetworkType
Auto Trait Implementations§
impl Freeze for NetworkType
impl RefUnwindSafe for NetworkType
impl Send for NetworkType
impl Sync for NetworkType
impl Unpin for NetworkType
impl UnsafeUnpin for NetworkType
impl UnwindSafe for NetworkType
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