fn procedure_request(&mut self, request: ProcedureRequest) -> Option<InformationRequest> {
        match request {
            ProcedureRequest::None => {}
            ProcedureRequest::Error(e) => {
                self.procedure_error(e);
            }
            ProcedureRequest::SendMessages(messages) => {
                // Messages to be sent to the peer via the Service Level RFCOMM Connection.
                for message in messages {
                    if let Err(err) = self.queue_message_to_peer(message) {
                        warn!("Unable to serialize AT response with {:}", err);
                    }
                }
            }
            ProcedureRequest::Info(req) => return Some(req),
        }
        None
    }
/// Handle a procedure update.
///
/// Returns a potential request for more information if the update cannot be directly
/// handled by the SLC.
Handle a procedure update.
Returns a potential request for more information if the update cannot be directly
handled by the SLC.
Handle a procedure update . Returns a potential request for more information if the update cannot be directly handled by the SLC .
fn procedure_request(&mut self, request: ProcedureRequest) -> Option<InformationRequest> {
        match request {
            ProcedureRequest::None => {}
            ProcedureRequest::Error(e) => {
                self.procedure_error(e);
            }
            ProcedureRequest::SendMessages(messages) => {
                // Messages to be sent to the peer via the Service Level RFCOMM Connection.
                for message in messages {
                    if let Err(err) = self.queue_message_to_peer(message) {
                        warn!("Unable to serialize AT response with {:}", err);
                    }
                }
            }
            ProcedureRequest::Info(req) => return Some(req),
        }
        None
    }
fn procedure_request ( & mut self , request : ProcedureRequest ) -> Option < InformationRequest > { match request { ProcedureRequest :: None => { } ProcedureRequest :: Error ( e ) => { self . procedure_error ( e ) ; } ProcedureRequest :: SendMessages ( messages ) => { // Messages to be sent to the peer via the Service Level RFCOMM Connection. for message in messages { if let Err ( err ) = self . queue_message_to_peer ( message ) { warn ! ( " " err ) ; } } } ProcedureRequest :: Info ( req ) => return Some ( req ) , } None }
Handle a procedure update.
Handle a procedure update .
&mut self
request
ProcedureRequest
&mut self
request
ProcedureRequest