Enum linux_info::network::modem_manager::ModemAccessTech
source · #[repr(u32)]#[non_exhaustive]pub enum ModemAccessTech {
Show 20 variants
Unknown,
Pots,
Gsm,
GsmCompact,
Gprs,
Edge,
Umts,
Hsdpa,
Hsupa,
Hspa,
HspaPlus,
T1xRtt,
Evdo0,
EvdoA,
EvdoB,
Lte,
T5Gnr,
LteCatM,
LteNbIoT,
Any,
}Expand description
Describes various access technologies that a device uses when registered with or connected to a network.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
The access technology used is unknown.
Pots
Analog wireline telephone.
Gsm
GSM.
GsmCompact
Compact GSM.
Gprs
GPRS.
Edge
EDGE (ETSI 27.007: “GSM w/EGPRS”).
Umts
UMTS (ETSI 27.007: “UTRAN”).
Hsdpa
HSDPA (ETSI 27.007: “UTRAN w/HSDPA”).
Hsupa
HSUPA (ETSI 27.007: “UTRAN w/HSUPA”).
Hspa
HSPA (ETSI 27.007: “UTRAN w/HSDPA and HSUPA”).
HspaPlus
HSPA+ (ETSI 27.007: “UTRAN w/HSPA+”).
T1xRtt
CDMA2000 1xRTT.
Evdo0
CDMA2000 EVDO revision 0.
EvdoA
CDMA2000 EVDO revision A.
EvdoB
CDMA2000 EVDO revision B.
Lte
LTE (ETSI 27.007: “E-UTRAN”)
T5Gnr
5GNR (ETSI 27.007: “NG-RAN”). Since 1.14.
LteCatM
Cat-M (ETSI 23.401: LTE Category M1/M2). Since 1.20.
LteNbIoT
NB IoT (ETSI 23.401: LTE Category NB1/NB2). Since 1.20.
Any
Mask specifying all access technologies.
Trait Implementations§
source§impl Clone for ModemAccessTech
impl Clone for ModemAccessTech
source§fn clone(&self) -> ModemAccessTech
fn clone(&self) -> ModemAccessTech
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ModemAccessTech
impl Debug for ModemAccessTech
source§impl<'de> Deserialize<'de> for ModemAccessTech
impl<'de> Deserialize<'de> for ModemAccessTech
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ModemAccessTech
impl Hash for ModemAccessTech
source§impl Ord for ModemAccessTech
impl Ord for ModemAccessTech
source§fn cmp(&self, other: &ModemAccessTech) -> Ordering
fn cmp(&self, other: &ModemAccessTech) -> Ordering
1.21.0 · 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
source§impl PartialEq<ModemAccessTech> for ModemAccessTech
impl PartialEq<ModemAccessTech> for ModemAccessTech
source§fn eq(&self, other: &ModemAccessTech) -> bool
fn eq(&self, other: &ModemAccessTech) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ModemAccessTech> for ModemAccessTech
impl PartialOrd<ModemAccessTech> for ModemAccessTech
source§fn partial_cmp(&self, other: &ModemAccessTech) -> Option<Ordering>
fn partial_cmp(&self, other: &ModemAccessTech) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for ModemAccessTech
impl Serialize for ModemAccessTech
impl Copy for ModemAccessTech
impl Eq for ModemAccessTech
impl StructuralEq for ModemAccessTech
impl StructuralPartialEq for ModemAccessTech
Auto Trait Implementations§
impl RefUnwindSafe for ModemAccessTech
impl Send for ModemAccessTech
impl Sync for ModemAccessTech
impl Unpin for ModemAccessTech
impl UnwindSafe for ModemAccessTech
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