Enum nrf_modem::ConnectionPreference
source · pub enum ConnectionPreference {
None,
Lte,
Nbiot,
NetworkPreferenceWithLteFallback,
NetworkPreferenceWithNbiotFallback,
}
Expand description
The preference the modem will have for connecting to the mobile network
Variants§
None
No preference. Initial system selection is based on history data and Universal Subscriber Identity Module (USIM)
Lte
LTE-M preferred
Nbiot
NB-IoT preferred
NetworkPreferenceWithLteFallback
Network selection priorities override system priority, but if the same network or equal priority networks are found, LTE-M is preferred
NetworkPreferenceWithNbiotFallback
Network selection priorities override system priority, but if the same network or equal priority networks are found, NB-IoT is preferred
Trait Implementations§
source§impl Clone for ConnectionPreference
impl Clone for ConnectionPreference
source§fn clone(&self) -> ConnectionPreference
fn clone(&self) -> ConnectionPreference
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 ConnectionPreference
impl Debug for ConnectionPreference
impl Copy for ConnectionPreference
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionPreference
impl Send for ConnectionPreference
impl Sync for ConnectionPreference
impl Unpin for ConnectionPreference
impl UnwindSafe for ConnectionPreference
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