pub fn unary_call<Req, Resp>(
        &self,
        method: &Method<Req, Resp>,
        req: &Req,
        opt: CallOption,
    ) -> Result<Resp> {
        let f = self.unary_call_async(method, req, opt)?;
        f.wait()
    }
/// Create a synchronized unary RPC call.
Create a synchronized unary RPC call.
Create a synchronized unary RPC call .
pub fn unary_call<Req, Resp>(
        &self,
        method: &Method<Req, Resp>,
        req: &Req,
        opt: CallOption,
    ) -> Result<Resp> {
        let f = self.unary_call_async(method, req, opt)?;
        f.wait()
    }
pub fn unary_call < Req , Resp > ( & self , method : & Method < Req , Resp > , req : & Req , opt : CallOption , ) -> Result < Resp > { let f = self . unary_call_async ( method , req , opt ) ? ; f . wait ( ) }
Create a synchronized unary RPC call.
Create a synchronized unary RPC call .
&self
method
&Method<Req, Resp>
req
&Req
opt
CallOption
&self
method
&Method<Req, Resp>
req
&Req
opt
CallOption