Struct nrf_modem::SystemMode 
source · pub struct SystemMode {
    pub lte_support: bool,
    pub lte_psm_support: bool,
    pub nbiot_support: bool,
    pub gnss_support: bool,
    pub preference: ConnectionPreference,
}Expand description
Identifies which radios in the nRF9160 should be active
Fields§
§lte_support: boolEnables the modem to connect to the LTE network
lte_psm_support: boolEnables the PowerSavingMode. You want this enabled unless your sim/network doesn’t support it
nbiot_support: boolEnables the modem to connect to the NBiot network
gnss_support: boolEnables the modem to receive gnss signals
preference: ConnectionPreferenceSets up the preference the modem will have for connecting to the mobile network
Trait Implementations§
source§impl Clone for SystemMode
 
impl Clone for SystemMode
source§fn clone(&self) -> SystemMode
 
fn clone(&self) -> SystemMode
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 SystemMode
 
impl Debug for SystemMode
impl Copy for SystemMode
Auto Trait Implementations§
impl RefUnwindSafe for SystemMode
impl Send for SystemMode
impl Sync for SystemMode
impl Unpin for SystemMode
impl UnwindSafe for SystemMode
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