Function pd_client::util::check_resp_header [−][src]
pub fn check_resp_header(header: &ResponseHeader) -> Result<()>
Convert a PD protobuf error to an Error
.
pub fn check_resp_header(header: &ResponseHeader) -> Result<()>
Convert a PD protobuf error to an Error
.