| /tonic/tonic-types/src/richer_error/error_details/ |
| H A D | vec.rs | 43 fn from(err_detail: RetryInfo) -> Self { in from() method 49 fn from(err_detail: DebugInfo) -> Self { in from() method 55 fn from(err_detail: QuotaFailure) -> Self { in from() method 61 fn from(err_detail: ErrorInfo) -> Self { in from() method 67 fn from(err_detail: PreconditionFailure) -> Self { in from() method 73 fn from(err_detail: BadRequest) -> Self { in from() method 79 fn from(err_detail: RequestInfo) -> Self { in from() method 85 fn from(err_detail: ResourceInfo) -> Self { in from() method 91 fn from(err_detail: Help) -> Self { in from() method 97 fn from(err_detail: LocalizedMessage) -> Self { in from() method
|
| /tonic/codegen/src/ |
| H A D | main.rs | 14 &PathBuf::from(std::env!("CARGO_MANIFEST_DIR")) in main() 20 &PathBuf::from("src/generated"), in main() 21 &PathBuf::from("src/generated/grpc_health_v1_fds.rs"), in main() 28 &PathBuf::from(std::env!("CARGO_MANIFEST_DIR")) in main() 34 &PathBuf::from("src/generated"), in main() 35 &PathBuf::from("src/generated/reflection_v1_fds.rs"), in main() 40 &PathBuf::from(std::env!("CARGO_MANIFEST_DIR")) in main() 46 &PathBuf::from("src/generated"), in main() 54 &PathBuf::from(std::env!("CARGO_MANIFEST_DIR")) in main() 60 &PathBuf::from("src/generated"), in main() [all …]
|
| /tonic/tonic/benches-disabled/benchmarks/ |
| H A D | request_response_diverse_types.rs | 25 field205: String::from("idiopathic"), in build_request() 31 field1: String::from("foo"), in build_request() 32 field9: String::from("red"), in build_request() 33 field18: String::from("red"), in build_request() 41 field4: String::from("red"), in build_request() 44 field7: String::from("blue"), in build_request() 54 field102: String::from("green"), in build_request() 55 field103: String::from("pink"), in build_request() 70 field129: String::from("red"), in build_request()
|
| /tonic/interop/proto/grpc/testing/ |
| H A D | messages.proto | 55 // Desired payload type in the response from the server. 56 // If response_type is RANDOM, server randomly chooses one from other formats. 59 // Desired payload size in the response from the server. 88 // The user the request came from, for verifying authentication was 106 // Not expecting any payload from the response. 111 // Aggregated size of payloads received from the client. 117 // Desired payload sizes in responses from the server. 134 // Desired payload type in the response from the server. 135 // If response_type is RANDOM, the payload from each response in the stream
|
| /tonic/tonic-types/src/richer_error/std_messages/ |
| H A D | help.rs | 29 fn from(value: pb::help::Link) -> Self { in from() method 38 fn from(value: HelpLink) -> Self { in from() method 126 fn from(value: pb::Help) -> Self { in from() method 134 fn from(value: Help) -> Self { in from() method
|
| H A D | bad_request.rs | 32 fn from(value: pb::bad_request::FieldViolation) -> Self { in from() method 41 fn from(value: FieldViolation) -> Self { in from() method 130 fn from(value: pb::BadRequest) -> Self { in from() method 138 fn from(value: BadRequest) -> Self { in from() method
|
| H A D | quota_failure.rs | 30 fn from(value: pb::quota_failure::Violation) -> Self { in from() method 39 fn from(value: QuotaViolation) -> Self { in from() method 127 fn from(value: pb::QuotaFailure) -> Self { in from() method 135 fn from(value: QuotaFailure) -> Self { in from() method
|
| H A D | prec_failure.rs | 42 fn from(value: pb::precondition_failure::Violation) -> Self { in from() method 52 fn from(value: PreconditionViolation) -> Self { in from() method 150 fn from(value: pb::PreconditionFailure) -> Self { in from() method 158 fn from(value: PreconditionFailure) -> Self { in from() method
|
| H A D | request_info.rs | 71 fn from(req_info: pb::RequestInfo) -> Self { in from() method 80 fn from(req_info: RequestInfo) -> Self { in from() method
|
| H A D | loc_message.rs | 72 fn from(loc_message: pb::LocalizedMessage) -> Self { in from() method 81 fn from(loc_message: LocalizedMessage) -> Self { in from() method
|
| H A D | debug_info.rs | 68 fn from(debug_info: pb::DebugInfo) -> Self { in from() method 77 fn from(debug_info: DebugInfo) -> Self { in from() method
|
| H A D | resource_info.rs | 84 fn from(res_info: pb::ResourceInfo) -> Self { in from() method 95 fn from(res_info: ResourceInfo) -> Self { in from() method
|
| H A D | error_info.rs | 84 fn from(error_info: pb::ErrorInfo) -> Self { in from() method 94 fn from(error_info: ErrorInfo) -> Self { in from() method
|
| H A D | retry_info.rs | 83 fn from(retry_info: pb::RetryInfo) -> Self { in from() method 98 fn from(value: RetryInfo) -> Self { in from() method
|
| /tonic/tonic-reflection/tests/ |
| H A D | server.rs | 39 name: String::from("grpc.reflection.v1.ServerReflection") in test_list_services() 51 message_request: Some(MessageRequest::FileByFilename(String::from( in test_file_by_filename() 75 message_request: Some(MessageRequest::FileContainingSymbol(String::from( in test_file_containing_symbol()
|
| /tonic/tests/skip_debug/tests/ |
| H A D | skip_debug.rs | 5 let path = PathBuf::from(std::env::var("OUT_DIR").unwrap()).join("test.rs"); in skip_debug()
|
| /tonic/tests/deprecated_methods/tests/ |
| H A D | deprecated_methods.rs | 5 let path = PathBuf::from(std::env::var("OUT_DIR").unwrap()).join("test.rs"); in test()
|
| /tonic/tonic/src/service/ |
| H A D | router.rs | 117 fn from(routes: Routes) -> Self { in from() method 125 fn from(router: axum::Router) -> Self { in from() method 133 fn from(router: axum::Router) -> Self { in from() method
|
| /tonic/tests/disable_comments/tests/ |
| H A D | disable_comments.rs | 5 let path = PathBuf::from(std::env::var("OUT_DIR").unwrap()).join("test.rs"); in test()
|
| /tonic/tonic/src/transport/server/ |
| H A D | incoming.rs | 76 fn from(listener: TcpListener) -> Self { in from() method 112 let sock_ref = socket2::SockRef::from(&stream); in set_accepted_socket_options()
|
| /tonic/tests/integration_tests/tests/ |
| H A D | http2_keep_alive.rs | 25 let incoming = TcpIncoming::from(listener).with_nodelay(Some(true)); in http2_keepalive_does_not_cause_panics() 55 let incoming = TcpIncoming::from(listener).with_nodelay(Some(true)); in http2_keepalive_does_not_cause_panics_on_client_side()
|
| H A D | status.rs | 39 let incoming = TcpIncoming::from(listener).with_nodelay(Some(true)); in status_with_details() 97 let incoming = TcpIncoming::from(listener).with_nodelay(Some(true)); in status_with_metadata() 168 let incoming = TcpIncoming::from(listener).with_nodelay(Some(true)); in status_from_server_stream() 238 let incoming = TcpIncoming::from(listener).with_nodelay(Some(true)); in message_and_then_status_from_server_stream()
|
| /tonic/tests/ambiguous_methods/proto/ |
| H A D | ambiguous_methods.proto | 9 // with the same method names from Arc,
|
| /tonic/examples/ |
| H A D | build.rs | 9 let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap()); in main()
|
| /tonic/tonic/src/ |
| H A D | status.rs | 524 Cow::from(percent_encode(self.message().as_bytes(), ENCODING_SET)).as_bytes(), in add_header() 673 fn from(err: h2::Error) -> Self { in from() method 680 fn from(status: Status) -> Self { in from() method 686 fn from(err: std::io::Error) -> Self { in from() method 783 Code::from(i) in from_i32() 847 fn from(i: i32) -> Self { in from() method 874 fn from(code: Code) -> i32 { in from() method 931 let orig = h2::Error::from(h2::Reason::CANCEL); in from_error_h2() 957 let code = Code::from(i); in code_from_i32() 965 assert_eq!(Code::from(-1), Code::Unknown); in code_from_i32()
|