Home
last modified time | relevance | path

Searched refs:i32 (Results 1 – 19 of 19) sorted by relevance

/tonic/tonic/benches-disabled/benchmarks/compiled_protos/
H A Ddiverse_types.rs14 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 Dlib.rs33 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 Dclient.rs14 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 Dserver.rs94 aggregated_payload_size += msg.payload.unwrap().body.len() as i32; in streaming_input_call()
/tonic/examples/src/routeguide/
H A Ddata.rs12 latitude: i32,
13 longitude: i32,
H A Dclient.rs43 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 Dserver.rs99 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 Dstatus.rs782 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 Dgrpc_reflection_v1.rs58 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 Dgrpc_reflection_v1alpha.rs58 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 Dserver.rs180 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 Dgrpc_health_v1.rs10 pub status: i32,
25 #[repr(i32)]
429 (tonic::Code::Unimplemented as i32).into(), in call()
/tonic/tests/integration_tests/tests/
H A Dextensions.rs19 struct ExtensionValue(i32);
/tonic/tonic-types/src/generated/
H A Dgoogle_rpc.rs13 pub code: i32,
/tonic/tonic-types/src/richer_error/
H A Dmod.rs39 code: code as i32, in gen_details_bytes()
/tonic/examples/
H A Drouteguide-tutorial.md466 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 Dvalue.rs523 from_i32: i32 => 11,
/tonic/tonic-build/src/
H A Dserver.rs170 … headers.insert(tonic::Status::GRPC_STATUS, (tonic::Code::Unimplemented as i32).into()); in generate_internal()
/tonic/
H A DCHANGELOG.md392 * **tonic:** implement `From<Code>` for `i32` ([f33316d](https://github.com/hyperium/tonic/commit/f…