/// Update the network information with the provided `update` value.
Update the network information with the provided `update` value.
Update the network information with the provided ` update ` value .
async fn handle_network_update(&mut self, update: NetworkInformation) {
        if update_table_entry(&mut self.network.service_available, &update.service_available) {
            let status = Indicator::Service(self.network.service_available.unwrap() as u8);
            self.phone_status_update(status).await;
        }
        if update_table_entry(&mut self.network.signal_strength, &update.signal_strength) {
            let status = Indicator::Signal(self.network.signal_strength.unwrap() as u8);
            self.phone_status_update(status).await;
        }
        if update_table_entry(&mut self.network.roaming, &update.roaming) {
            let status = Indicator::Roam(self.network.roaming.unwrap() as u8);
            self.phone_status_update(status).await;
        }
    }
async fn handle_network_update ( & mut self , update : NetworkInformation ) { if update_table_entry ( & mut self . network . service_available , & update . service_available ) { let status = Indicator :: Service ( self . network . service_available . unwrap ( ) as u8 ) ; self . phone_status_update ( status ) . await ; } if update_table_entry ( & mut self . network . signal_strength , & update . signal_strength ) { let status = Indicator :: Signal ( self . network . signal_strength . unwrap ( ) as u8 ) ; self . phone_status_update ( status ) . await ; } if update_table_entry ( & mut self . network . roaming , & update . roaming ) { let status = Indicator :: Roam ( self . network . roaming . unwrap ( ) as u8 ) ; self . phone_status_update ( status ) . await ; } }
Update the network information with the provided `update` value.
Update the network information with the provided ` update ` value .
&mut self
update
NetworkInformation