/// Helper function to process any requests that are pending SLC initialization.
Helper function to process any requests that are pending SLC initialization.
Helper function to process any requests that are pending SLC initialization .
fn process_requests_pending_initialization(
        &mut self,
        cx: &mut Context<'_>,
    ) -> Option<Result<SlcRequest, ProcedureError>> {
        if self.initialized() {
            while let Some((marker, request)) = self.requests_pending_initialization.pop_front() {
                let request = self.handle_command(marker, request.into());
                let info_req = self.procedure_request(request);
                match info_req {
                    Some(info_req) => return Some(Ok(info_req)),
                    None => {
                        if let Some(conn) = &mut self.connection {
                            if let Err(e) = conn.try_send_queued(cx) {
                                return Some(Err(e.into()));
                            }
                        }
                        continue;
                    }
                }
            }
        }
        None
    }
fn process_requests_pending_initialization ( & mut self , cx : & mut Context < ' _ > , ) -> Option < Result < SlcRequest , ProcedureError > > { if self . initialized ( ) { while let Some ( ( marker , request ) ) = self . requests_pending_initialization . pop_front ( ) { let request = self . handle_command ( marker , request . into ( ) ) ; let info_req = self . procedure_request ( request ) ; match info_req { Some ( info_req ) => return Some ( Ok ( info_req ) ) , None => { if let Some ( conn ) = & mut self . connection { if let Err ( e ) = conn . try_send_queued ( cx ) { return Some ( Err ( e . into ( ) ) ) ; } } continue ; } } } } None }
Helper function to process any requests that are pending SLC initialization.
Helper function to process any requests that are pending SLC initialization .
&mut self
cx
&mut Context<'_>