async fn report_omaha_event<'a>(
        &'a mut self,
        request_params: &'a RequestParams,
        event: Event,
        apps: &'a Vec<App>,
    ) {
        let mut request_builder = RequestBuilder::new(&self.client_config, &request_params);
        for app in apps {
            request_builder = request_builder.add_event(app, &event);
        }
        if let Err(e) = Self::do_omaha_request(&mut self.http, &request_builder).await {
            warn!("Unable to report event to Omaha: {:?}", e);
        }
    }
/// Report the given |event| to Omaha, errors occurred during reporting are logged but not
/// acted on.
Report the given |event| to Omaha, errors occurred during reporting are logged but not
acted on.
Report the given |event| to Omaha errors occurred during reporting are logged but not acted on .
async fn report_omaha_event<'a>(
        &'a mut self,
        request_params: &'a RequestParams,
        event: Event,
        apps: &'a Vec<App>,
    ) {
        let mut request_builder = RequestBuilder::new(&self.client_config, &request_params);
        for app in apps {
            request_builder = request_builder.add_event(app, &event);
        }
        if let Err(e) = Self::do_omaha_request(&mut self.http, &request_builder).await {
            warn!("Unable to report event to Omaha: {:?}", e);
        }
    }
async fn report_omaha_event < ' a > ( & ' a mut self , request_params : & ' a RequestParams , event : Event , apps : & ' a Vec < App > , ) { let mut request_builder = RequestBuilder :: new ( & self . client_config , & request_params ) ; for app in apps { request_builder = request_builder . add_event ( app , & event ) ; } if let Err ( e ) = Self :: do_omaha_request ( & mut self . http , & request_builder ) . await { warn ! ( " " e ) ; } }
Report the given |event| to Omaha, errors occurred during reporting are logged but not
acted on.
Report the given |event| to Omaha errors occurred during reporting are logged but not acted on .
&'a mut self
request_params
&'a RequestParams
event
Event
apps
&'a Vec<App>
&'a mut self
request_params
&'a RequestParams
event
Event
apps
&'a Vec<App>