pub async fn compute_mac(
            &mut self,
            request: impl tonic::IntoRequest<super::ComputeMacRequest>,
        ) -> Result<tonic::Response<super::ComputeMacResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/tink_testing_api.Mac/ComputeMac");
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Computes a MAC for given data
Computes a MAC for given data
Computes a MAC for given data
pub async fn compute_mac(
            &mut self,
            request: impl tonic::IntoRequest<super::ComputeMacRequest>,
        ) -> Result<tonic::Response<super::ComputeMacResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/tink_testing_api.Mac/ComputeMac");
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn compute_mac ( & mut self , request : impl tonic :: IntoRequest < super :: ComputeMacRequest > , ) -> Result < tonic :: Response < super :: ComputeMacResponse > , tonic :: Status > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Computes a MAC for given data
Computes a MAC for given data
&mut self
request
impl tonic::IntoRequest<super::ComputeMacRequest>