Add half duplex as an unimplemented call

This commit is contained in:
Lucio Franco
2019-09-11 22:53:12 -04:00
parent 306d169c91
commit 7ab2f12231
+2 -1
View File
@@ -148,7 +148,8 @@ impl pb::server::TestService for TestService {
&self, &self,
_: Streaming<StreamingOutputCallRequest>, _: Streaming<StreamingOutputCallRequest>,
) -> Result<Self::HalfDuplexCallStream> { ) -> Result<Self::HalfDuplexCallStream> {
unimplemented!() // TODO: implement half duplex
Err(Status::unimplemented("TODO"))
} }
async fn unimplemented_call(&self, _: Request<Empty>) -> Result<Empty> { async fn unimplemented_call(&self, _: Request<Empty>) -> Result<Empty> {