Home
last modified time | relevance | path

Searched refs:Empty (Results 1 – 16 of 16) sorted by relevance

/tonic/tests/default_stubs/proto/
H A Dtest.proto8 rpc Unary(google.protobuf.Empty) returns (google.protobuf.Empty);
9 rpc ServerStream(google.protobuf.Empty) returns (stream google.protobuf.Empty);
10 rpc ClientStream(stream google.protobuf.Empty) returns (google.protobuf.Empty);
11 rpc BidirectionalStream(stream google.protobuf.Empty) returns (stream google.protobuf.Empty);
H A Dtest_default.proto8 rpc Unary(google.protobuf.Empty) returns (google.protobuf.Empty);
9 rpc ServerStream(google.protobuf.Empty) returns (stream google.protobuf.Empty);
10 rpc ClientStream(stream google.protobuf.Empty) returns (google.protobuf.Empty);
11 rpc BidirectionalStream(stream google.protobuf.Empty) returns (stream google.protobuf.Empty);
/tonic/tests/wellknown/proto/
H A Dwellknown.proto10 rpc EmptyCall(google.protobuf.Empty) returns (google.protobuf.Empty);
11 rpc StringCall(google.protobuf.StringValue) returns (google.protobuf.Empty);
12 rpc AnyCall(google.protobuf.Any) returns (google.protobuf.Empty);
/tonic/tests/compression/proto/
H A Dtest.proto8 rpc CompressOutputUnary(google.protobuf.Empty) returns (SomeData);
9 rpc CompressInputUnary(SomeData) returns (google.protobuf.Empty);
10 rpc CompressOutputServerStream(google.protobuf.Empty) returns (stream SomeData);
11 rpc CompressInputClientStream(stream SomeData) returns (google.protobuf.Empty);
/tonic/tonic/src/
H A Dbody.rs18 Empty, enumerator
29 Self { kind: Kind::Empty } in empty()
76 Kind::Empty => Poll::Ready(None), in poll_frame()
83 Kind::Empty => http_body::SizeHint::with_exact(0), in size_hint()
90 Kind::Empty => true, in is_end_stream()
/tonic/interop/proto/grpc/testing/
H A Dtest.proto29 rpc EmptyCall(grpc.testing.Empty) returns (grpc.testing.Empty);
64 rpc UnimplementedCall(grpc.testing.Empty) returns (grpc.testing.Empty);
71 rpc UnimplementedCall(grpc.testing.Empty) returns (grpc.testing.Empty);
76 rpc Start(grpc.testing.ReconnectParams) returns (grpc.testing.Empty);
77 rpc Stop(grpc.testing.Empty) returns (grpc.testing.ReconnectInfo);
H A Dempty.proto24 // rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { };
27 message Empty {} message
/tonic/interop/src/
H A Dserver.rs27 async fn empty_call(&self, _request: Request<Empty>) -> Result<Empty> { in empty_call() argument
28 Ok(Response::new(Empty {})) in empty_call()
153 async fn unimplemented_call(&self, _: Request<Empty>) -> Result<Empty> { in unimplemented_call() argument
163 async fn unimplemented_call(&self, _req: Request<Empty>) -> Result<Empty> { in unimplemented_call() argument
H A Dclient.rs22 let result = client.empty_call(Request::new(Empty {})).await; in empty_unary()
34 body == Empty {}, in empty_unary()
317 let result = client.unimplemented_call(Request::new(Empty {})).await; in unimplemented_method()
332 let result = client.unimplemented_call(Request::new(Empty {})).await; in unimplemented_service()
/tonic/tests/wellknown-compiled/proto/
H A Dtest.proto10 rpc Call(Input) returns (google.protobuf.Empty);
/tonic/tests/service_named_result/proto/
H A Dresult.proto8 rpc Listen(google.protobuf.Empty) returns (Reply) {}
/tonic/tonic/src/service/
H A Dinterceptor.rs222 Empty, enumerator
232 Self::new(ResponseBodyKind::Empty) in empty()
249 ResponseBodyKindProj::Empty => Poll::Ready(None), in poll_frame()
256 ResponseBodyKind::Empty => http_body::SizeHint::with_exact(0), in size_hint()
263 ResponseBodyKind::Empty => true, in is_end_stream()
/tonic/tonic-web/src/
H A Dcall.rs50 Empty, enumerator
79 direction: Direction::Empty, in default()
326 Direction::Empty => Poll::Ready(None), in poll_frame()
/tonic/examples/proto/googleapis/google/pubsub/v1/
H A Dschema.proto70 rpc DeleteSchema(DeleteSchemaRequest) returns (google.protobuf.Empty) {
H A Dpubsub.proto118 rpc DeleteTopic(DeleteTopicRequest) returns (google.protobuf.Empty) {
463 returns (google.protobuf.Empty) {
476 returns (google.protobuf.Empty) {
492 rpc Acknowledge(AcknowledgeRequest) returns (google.protobuf.Empty) {
529 returns (google.protobuf.Empty) {
607 rpc DeleteSnapshot(DeleteSnapshotRequest) returns (google.protobuf.Empty) {
/tonic/
H A DCHANGELOG.md327 * **build:** Correctly convert `Empty` to `()` ([#734](https://github.com/hyperium/tonic/issues/734…
709 * **codegen:** Fix Empty protobuf type and add unimplemented ([#26](https://github.com/hyperium/ton…