Liveness probe (the negotiation pair's first half).
(&self)
| 151 | |
| 152 | /// Liveness probe (the negotiation pair's first half). |
| 153 | pub async fn health(&self) -> Result<HealthResponse, tonic::Status> { |
| 154 | let mut client = DaemonServiceClient::new(self.channel.clone()); |
| 155 | client |
| 156 | .health(HealthRequest {}) |
| 157 | .await |
| 158 | .map(|response| response.into_inner()) |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | /// Re-export for callers that drive the generated service clients directly. |
no test coverage detected