Function pd_client::util::sync_request [−][src]
pub fn sync_request<F, R>(client: &Client, retry: usize, func: F) -> Result<R> where
F: Fn(&PdClientStub) -> GrpcResult<R>,
Do a request in synchronized fashion.
pub fn sync_request<F, R>(client: &Client, retry: usize, func: F) -> Result<R> where
F: Fn(&PdClientStub) -> GrpcResult<R>,
Do a request in synchronized fashion.