/// 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<SlcRequest> {
        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.
                self.queue_messages_to_peer(messages)
            }
            ProcedureRequest::Request(req) => return Some(req),
        }
        None
    }
fn procedure_request ( & mut self , request : ProcedureRequest ) -> Option < SlcRequest > { 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. self . queue_messages_to_peer ( messages ) } ProcedureRequest :: Request ( req ) => return Some ( req ) , } None }
Handle a procedure update.
Handle a procedure update .
&mut self
request
ProcedureRequest