Lines Matching refs:result

22     let result = client.empty_call(Request::new(Empty {})).await;  in empty_unary()  localVariable
26 result.is_ok(), in empty_unary()
27 format!("result={:?}", result) in empty_unary()
30 if let Ok(response) = result { in empty_unary()
50 let result = client.unary_call(Request::new(req)).await; in large_unary() localVariable
54 result.is_ok(), in large_unary()
55 format!("result={:?}", result) in large_unary()
58 if let Ok(response) = result { in large_unary()
92 let result = client.streaming_input_call(Request::new(stream)).await; in client_streaming() localVariable
96 result.is_ok(), in client_streaming()
97 format!("result={:?}", result) in client_streaming()
100 if let Ok(response) = result { in client_streaming()
121 let result = client.streaming_output_call(req).await; in server_streaming() localVariable
125 result.is_ok(), in server_streaming()
126 format!("result={:?}", result) in server_streaming()
129 if let Ok(response) = result { in server_streaming()
157 let result = client in ping_pong() localVariable
165 result.is_ok(), in ping_pong()
166 format!("result={:?}", result) in ping_pong()
169 if let Ok(mut response) = result.map(Response::into_inner) { in ping_pong()
174 Some(result) => { in ping_pong()
175 responses.push(result.unwrap()); in ping_pong()
211 let result = client.full_duplex_call(Request::new(stream)).await; in empty_stream() localVariable
215 result.is_ok(), in empty_stream()
216 format!("result={:?}", result) in empty_stream()
219 if let Ok(response) = result.map(Response::into_inner) { in empty_stream()
231 fn validate_response<T>(result: Result<T, Status>, assertions: &mut Vec<TestAssertion>) in status_code_and_message()
237 match &result { in status_code_and_message()
241 format!("result={:?}", result) in status_code_and_message()
246 match &result { in status_code_and_message()
250 format!("result={:?}", result) in status_code_and_message()
270 let result = client.unary_call(Request::new(simple_req)).await; in status_code_and_message() localVariable
271 validate_response(result, assertions); in status_code_and_message()
274 let result = match client.full_duplex_call(Request::new(stream)).await { in status_code_and_message() localVariable
283 validate_response(result, assertions); in status_code_and_message()
295 let result = client.unary_call(Request::new(req)).await; in special_status_message() localVariable
299 match &result { in special_status_message()
303 format!("result={:?}", result) in special_status_message()
308 match &result { in special_status_message()
312 format!("result={:?}", result) in special_status_message()
317 let result = client.unimplemented_call(Request::new(Empty {})).await; in unimplemented_method() localVariable
320 match &result { in unimplemented_method()
324 format!("result={:?}", result) in unimplemented_method()
332 let result = client.unimplemented_call(Request::new(Empty {})).await; in unimplemented_service() localVariable
335 match &result { in unimplemented_service()
339 format!("result={:?}", result) in unimplemented_service()