async fn success<R: Send>(response: R, sink: UnarySink<R>) {
    sink.success(response)
        .map_err(|e| error!("failed to send response, the error is: {:?}", e))
        .map(|_| ())
        .await;
}
/// Help function to send success `gRPC` response
Help function to send success `gRPC` response
Help function to send success ` gRPC ` response
async fn success<R: Send>(response: R, sink: UnarySink<R>) {
    sink.success(response)
        .map_err(|e| error!("failed to send response, the error is: {:?}", e))
        .map(|_| ())
        .await;
}
async fn success < R : Send > ( response : R , sink : UnarySink < R > ) { sink . success ( response ) . map_err ( | e | error ! ( " " e ) ) . map ( | _ | ( ) ) . await ; }
Help function to send success `gRPC` response
Help function to send success ` gRPC ` response
response
R
sink
UnarySink<R>