async fn handle_request(&self, request: CredentialManagerRequest) -> Result<(), Error> {
        match request {
            CredentialManagerRequest::AddCredential { params, responder } => {
                let mut resp = self.add_credential(&params).await;
                responder.send(&mut resp).context("sending AddCredential response")?;
            }
            CredentialManagerRequest::RemoveCredential { label, responder } => {
                let mut resp = self.remove_credential(label).await;
                responder.send(&mut resp).context("sending RemoveLabel response")?;
            }
            CredentialManagerRequest::CheckCredential { params, responder } => {
                let mut resp = self.check_credential(&params).await;
                responder.send(&mut resp).context("sending CheckCredential response")?;
            }
        }
        Ok(())
    }
/// Process a single CredentialManager FIDL request and send a reply.
Process a single CredentialManager FIDL request and send a reply.
Process a single CredentialManager FIDL request and send a reply .
async fn handle_request(&self, request: CredentialManagerRequest) -> Result<(), Error> {
        match request {
            CredentialManagerRequest::AddCredential { params, responder } => {
                let mut resp = self.add_credential(&params).await;
                responder.send(&mut resp).context("sending AddCredential response")?;
            }
            CredentialManagerRequest::RemoveCredential { label, responder } => {
                let mut resp = self.remove_credential(label).await;
                responder.send(&mut resp).context("sending RemoveLabel response")?;
            }
            CredentialManagerRequest::CheckCredential { params, responder } => {
                let mut resp = self.check_credential(&params).await;
                responder.send(&mut resp).context("sending CheckCredential response")?;
            }
        }
        Ok(())
    }
async fn handle_request ( & self , request : CredentialManagerRequest ) -> Result < ( ) , Error > { match request { CredentialManagerRequest :: AddCredential { params , responder } => { let mut resp = self . add_credential ( & params ) . await ; responder . send ( & mut resp ) . context ( " " ) ? ; } CredentialManagerRequest :: RemoveCredential { label , responder } => { let mut resp = self . remove_credential ( label ) . await ; responder . send ( & mut resp ) . context ( " " ) ? ; } CredentialManagerRequest :: CheckCredential { params , responder } => { let mut resp = self . check_credential ( & params ) . await ; responder . send ( & mut resp ) . context ( " " ) ? ; } } Ok ( ( ) ) }
Process a single CredentialManager FIDL request and send a reply.
Process a single CredentialManager FIDL request and send a reply .
&self
request
CredentialManagerRequest
&self
request
CredentialManagerRequest