| /tonic/tonic/benches-disabled/benchmarks/compiled_protos/ |
| H A D | diverse_types.rs | 14 pub field2: i32, 16 pub field3: i32, 18 pub field280: i32, 20 pub field6: i32, 32 pub field16: i32, 34 pub field130: i32, 54 pub field29: i32, 58 pub field60: i32, 89 pub field1: i32, 91 pub field2: i32, [all …]
|
| /tonic/interop/src/ |
| H A D | lib.rs | 33 fn with_size(size: i32) -> Self { in with_size() 41 fn response_length(response: &pb::StreamingOutputCallResponse) -> i32 { in response_length() argument 43 Some(ref payload) => payload.body.len() as i32, in response_length() 48 fn response_lengths(responses: &[pb::StreamingOutputCallResponse]) -> Vec<i32> { in response_lengths() argument
|
| H A D | client.rs | 14 const LARGE_RSP_SIZE: i32 = 314_159; 15 const REQUEST_LENGTHS: &[i32] = &[27182, 8, 1828, 45904]; 16 const RESPONSE_LENGTHS: &[i32] = &[31415, 9, 2653, 58979]; 44 response_type: PayloadType::Compressable as i32, in large_unary() 350 response_type: PayloadType::Compressable as i32, in custom_metadata()
|
| H A D | server.rs | 94 aggregated_payload_size += msg.payload.unwrap().body.len() as i32; in streaming_input_call()
|
| /tonic/examples/src/routeguide/ |
| H A D | data.rs | 12 latitude: i32, 13 longitude: i32,
|
| H A D | client.rs | 43 let point_count: i32 = rng.random_range(2..100); in run_record_route() 72 latitude: 409146138 + elapsed.as_secs() as i32, in run_route_chat()
|
| H A D | server.rs | 99 summary.elapsed_time = now.elapsed().as_secs() as i32; in record_route() 172 fn calc_distance(p1: &Point, p2: &Point) -> i32 { in calc_distance() argument 192 (R * c) as i32 in calc_distance()
|
| /tonic/tonic/src/ |
| H A D | status.rs | 782 pub fn from_i32(i: i32) -> Code { in from_i32() 846 impl From<i32> for Code { 847 fn from(i: i32) -> Self { in from() 872 impl From<Code> for i32 { implementation 874 fn from(code: Code) -> i32 { in from() argument 875 code as i32 in from() 956 for i in 0..(Code::Unauthenticated as i32) { in code_from_i32() 959 i, code as i32, in code_from_i32() 961 i, code, code as i32, in code_from_i32()
|
| /tonic/tonic-reflection/src/generated/ |
| H A D | grpc_reflection_v1.rs | 58 pub extension_number: i32, 119 pub extension_number: ::prost::alloc::vec::Vec<i32>, 143 pub error_code: i32, 431 (tonic::Code::Unimplemented as i32).into(), in call()
|
| H A D | grpc_reflection_v1alpha.rs | 58 pub extension_number: i32, 119 pub extension_number: ::prost::alloc::vec::Vec<i32>, 143 pub error_code: i32, 431 (tonic::Code::Unimplemented as i32).into(), in call()
|
| /tonic/tonic-health/src/ |
| H A D | server.rs | 180 let status = crate::pb::health_check_response::ServingStatus::from(status) as i32; in new() 195 fn assert_serving_status(wire: i32, expected: ServingStatus) { in assert_serving_status() argument 196 let expected = crate::pb::health_check_response::ServingStatus::from(expected) as i32; in assert_serving_status()
|
| /tonic/tonic-health/src/generated/ |
| H A D | grpc_health_v1.rs | 10 pub status: i32, 25 #[repr(i32)] 429 (tonic::Code::Unimplemented as i32).into(), in call()
|
| /tonic/tests/integration_tests/tests/ |
| H A D | extensions.rs | 19 struct ExtensionValue(i32);
|
| /tonic/tonic-types/src/generated/ |
| H A D | google_rpc.rs | 13 pub code: i32,
|
| /tonic/tonic-types/src/richer_error/ |
| H A D | mod.rs | 39 code: code as i32, in gen_details_bytes()
|
| /tonic/examples/ |
| H A D | routeguide-tutorial.md | 466 summary.elapsed_time = now.elapsed().as_secs() as i32; 697 let point_count: i32 = rng.random_range(2..100); 754 latitude: 409146138 + elapsed.as_secs() as i32,
|
| /tonic/tonic/src/metadata/ |
| H A D | value.rs | 523 from_i32: i32 => 11,
|
| /tonic/tonic-build/src/ |
| H A D | server.rs | 170 … headers.insert(tonic::Status::GRPC_STATUS, (tonic::Code::Unimplemented as i32).into()); in generate_internal()
|
| /tonic/ |
| H A D | CHANGELOG.md | 392 * **tonic:** implement `From<Code>` for `i32` ([f33316d](https://github.com/hyperium/tonic/commit/f…
|