Module pd_client::util[][src]

Structs

Client

A leader client doing requests asynchronous.

HeartbeatReceiver
Inner
PdConnector
Request

The context of sending requets.

TargetInfo

Constants

GLOBAL_RECONNECT_INTERVAL
MAX_REQUEST_COUNT
MAX_RETRY_DURATION
MAX_RETRY_TIMES
REQUEST_RECONNECT_INTERVAL
RETRY_INTERVAL

Functions

check_resp_header

Convert a PD protobuf error to an Error.

sync_request

Do a request in synchronized fashion.

trim_http_prefix

Type Definitions

StubTuple