| /tonic/tonic/src/ |
| H A D | response.rs | 9 message: T, field 26 pub fn new(message: T) -> Self { in new() 29 message, in new() 36 &self.message in get_ref() 41 &mut self.message in get_mut() 56 self.message in into_inner() 68 message, in from_parts() 74 let (head, message) = res.into_parts(); in from_http() 77 message, in from_http() 97 let message = f(self.message); in map() localVariable [all …]
|
| H A D | status.rs | 42 message: String, field 165 message: message.into(), in new() 174 Status::new(Code::Ok, message) in ok() 468 Ok(message) => (code, message), in from_header_map() 478 message, in from_header_map() 491 pub fn message(&self) -> &str { in message() method 492 &self.message in message() 558 message: impl Into<String>, in with_details_and_metadata() 564 message: message.into(), in with_details_and_metadata() 602 message: status.message.clone(), in find_status_in_source_chain() [all …]
|
| H A D | request.rs | 20 message: T, field 113 pub fn new(message: T) -> Self { in new() 116 message, in new() 123 &self.message in get_ref() 128 &mut self.message in get_mut() 143 self.message in into_inner() 156 message, in from_parts() 163 message, in from_http_parts() 171 Request::from_http_parts(parts, message) in from_http() 200 let message = f(self.message); in map() localVariable [all …]
|
| /tonic/tonic-types/src/richer_error/std_messages/ |
| H A D | loc_message.rs | 22 pub message: String, field 30 pub fn new(locale: impl Into<String>, message: impl Into<String>) -> Self { in new() 33 message: message.into(), in new() 40 self.locale.is_empty() && self.message.is_empty() in is_empty() 75 message: loc_message.message, in from() 84 message: loc_message.message, in from()
|
| /tonic/tests/integration_tests/proto/ |
| H A D | test.proto | 9 message Input {} 10 message Output {} 18 message Input1 { 21 message Output1 {
|
| H A D | stream.proto | 9 message InputStream {} 10 message OutputStream {}
|
| /tonic/examples/proto/attrs/ |
| H A D | attrs.proto | 6 message EchoRequest { 7 string message = 1; field 11 message EchoResponse { 12 string message = 1; field
|
| /tonic/tests/extern_path/my_application/src/ |
| H A D | main.rs | 7 let message = pb::MyMessage { in main() localVariable 13 dbg!(message.message_id.unwrap().do_it()); in main() 19 let message = pb::MyMessage { in service_types_have_extern_types() localVariable 25 assert_eq!(message.message_id.unwrap().do_it(), "Done"); in service_types_have_extern_types()
|
| /tonic/tonic-reflection/proto/ |
| H A D | reflection_v1alpha.proto | 29 message ServerReflectionRequest { 44 // message type with the given field number. 65 message ExtensionRequest { 72 message ServerReflectionResponse { 92 // This message is used when an error occurs. 100 message FileDescriptorResponse { 109 message ExtensionNumberResponse { 117 message ListServiceResponse { 119 // ServiceResponse message to encapsulate it. 125 message ServiceResponse { [all …]
|
| H A D | reflection_v1.proto | 39 message ServerReflectionRequest { 54 // message type with the given field number. 75 message ExtensionRequest { 82 message ServerReflectionResponse { 102 // This message is used when an error occurs. 110 message FileDescriptorResponse { 119 message ExtensionNumberResponse { 127 message ListServiceResponse { 129 // ServiceResponse message to encapsulate it. 135 message ServiceResponse { [all …]
|
| /tonic/tests/disable_comments/proto/ |
| H A D | test.proto | 20 message Input1 {} 23 message Input2 {} 26 message Output1 {} 29 message Output2 {}
|
| /tonic/tonic/benches-disabled/proto/helloworld/ |
| H A D | helloworld.proto | 29 // The request message containing the user's name. 30 message HelloRequest { 34 // The response message containing the greetings 35 message HelloReply { 36 string message = 1; field
|
| /tonic/examples/proto/helloworld/ |
| H A D | helloworld.proto | 29 // The request message containing the user's name. 30 message HelloRequest { 34 // The response message containing the greetings 35 message HelloReply { 36 string message = 1; field
|
| /tonic/interop/proto/grpc/testing/ |
| H A D | messages.proto | 24 message BoolValue { 37 message Payload { 47 message EchoStatus { 49 string message = 2; field 53 message SimpleRequest { 85 message SimpleResponse { 96 message StreamingInputCallRequest { 110 message StreamingInputCallResponse { 116 message ResponseParameters { 158 message ReconnectParams { [all …]
|
| /tonic/examples/src/streaming/ |
| H A D | client.rs | 13 message: format!("msg {:02}", i), in echo_requests_iter() 20 message: "foo".into(), in streaming_echo() 29 println!("\treceived: {}", item.unwrap().message); in streaming_echo() 46 println!("\treceived message: `{}`", received.message); in bidirectional_streaming_echo() 62 println!("\treceived message: `{}`", received.message); in bidirectional_streaming_echo_throttle()
|
| /tonic/examples/src/multiplex/ |
| H A D | server.rs | 47 message: format!("Hello {}!", request.into_inner().name), in say_hello() 62 let message = request.into_inner().message; in unary_echo() localVariable 63 Ok(Response::new(EchoResponse { message })) in unary_echo()
|
| /tonic/tonic-types/proto/ |
| H A D | status.proto | 30 // used by [gRPC](https://github.com/grpc). Each `Status` message contains 31 // three pieces of data: error code, error message, and error details. 35 message Status { 39 // A developer-facing error message, which should be in English. Any 40 // user-facing error message should be localized and sent in the 42 string message = 2; field 45 // message types for APIs to use.
|
| /tonic/examples/proto/routeguide/ |
| H A D | route_guide.proto | 36 // streamed rather than returned at once (e.g. in a response message with a 58 message Point { 65 message Rectangle { 76 message Feature { 84 // A RouteNote is a message sent while at a given point. 85 message RouteNote { 86 // The location from which the message is sent. 89 // The message to be sent. 90 string message = 2; field 98 message RouteSummary {
|
| /tonic/examples/proto/unaryecho/ |
| H A D | echo.proto | 24 message EchoRequest { 25 string message = 1; field 29 message EchoResponse { 30 string message = 1; field
|
| /tonic/examples/src/tracing/ |
| H A D | client.rs | 25 message = "Sending request.", in say_hi() 32 message = "Got a response.", in say_hi() 33 response = %response.get_ref().message in say_hi()
|
| /tonic/tonic-types/src/richer_error/ |
| H A D | mod.rs | 40 message: message.to_owned(), in gen_details_bytes() 74 message: impl Into<String>, in with_error_details_and_metadata() 96 message: impl Into<String>, in with_error_details() 120 message: impl Into<String>, in with_error_details_vec_and_metadata() 144 message: impl Into<String>, in with_error_details_vec() 486 message: impl Into<String>, in with_error_details_and_metadata() 490 let message: String = message.into(); in with_error_details_and_metadata() localVariable 545 message: impl Into<String>, in with_error_details_vec_and_metadata() 549 let message: String = message.into(); in with_error_details_vec_and_metadata() localVariable 595 message: impl Into<String>, in with_error_details_vec() [all …]
|
| /tonic/tests/skip_debug/proto/ |
| H A D | test.proto | 9 message Input {} 11 message Output {}
|
| /tonic/tests/included_service/proto/ |
| H A D | includee.proto | 9 message SomeRequest {} 11 message SomeResponse {}
|
| /tonic/tonic-types/src/generated/ |
| H A D | google_rpc.rs | 18 pub message: ::prost::alloc::string::String, field 21 #[prost(message, repeated, tag = "3")] 40 #[prost(message, optional, tag = "1")] 67 #[prost(message, repeated, tag = "1")] 158 #[prost(message, repeated, tag = "1")] 189 #[prost(message, repeated, tag = "1")] 252 #[prost(message, repeated, tag = "1")] 279 pub message: ::prost::alloc::string::String, field
|
| /tonic/tests/service_named_service/proto/ |
| H A D | foo.proto | 9 message FooRequest {} 11 message FooResponse {}
|