Home
last modified time | relevance | path

Searched refs:result (Results 1 – 22 of 22) sorted by relevance

/tonic/interop/src/
H A Dclient.rs26 result.is_ok(), in empty_unary()
54 result.is_ok(), in large_unary()
96 result.is_ok(), in client_streaming()
125 result.is_ok(), in server_streaming()
157 let result = client in ping_pong() localVariable
165 result.is_ok(), in ping_pong()
215 result.is_ok(), in empty_stream()
299 match &result { in special_status_message()
308 match &result { in special_status_message()
320 match &result { in unimplemented_method()
[all …]
H A Dserver.rs7 use std::result::Result as StdResult;
/tonic/interop/src/bin/
H A Dclient.rs89 for result in test_results { in main()
90 println!(" {}", result); in main()
92 if result.is_failed() { in main()
93 failures.push(result); in main()
H A Dserver.rs20 async fn main() -> std::result::Result<(), Box<dyn std::error::Error>> { in main()
/tonic/tests/service_named_result/proto/
H A Dresult.proto5 package result; package
/tonic/tonic-build/src/
H A Dserver.rs159 … fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll<std::result::Result<(), Self::Error>> { in generate_internal()
269 -> std::result::Result<tonic::Response<#res_message>, tonic::Status> { in generate_trait_methods()
278 -> std::result::Result<tonic::Response<#res_message>, tonic::Status>; in generate_trait_methods()
285 -> std::result::Result<tonic::Response<#res_message>, tonic::Status> { in generate_trait_methods()
294 -> std::result::Result<tonic::Response<#res_message>, tonic::Status>; in generate_trait_methods()
301 … -> std::result::Result<tonic::Response<BoxStream<#res_message>>, tonic::Status> { in generate_trait_methods()
315 …type #stream: tonic::codegen::tokio_stream::Stream<Item = std::result::Result<#res_message, tonic:… in generate_trait_methods()
319 -> std::result::Result<tonic::Response<Self::#stream>, tonic::Status>; in generate_trait_methods()
326 … -> std::result::Result<tonic::Response<BoxStream<#res_message>>, tonic::Status> { in generate_trait_methods()
340 …type #stream: tonic::codegen::tokio_stream::Stream<Item = std::result::Result<#res_message, tonic:… in generate_trait_methods()
[all …]
H A Dclient.rs239 ) -> std::result::Result<tonic::Response<#response>, tonic::Status> { in generate_unary()
270 … ) -> std::result::Result<tonic::Response<tonic::codec::Streaming<#response>>, tonic::Status> { in generate_server_streaming()
301 ) -> std::result::Result<tonic::Response<#response>, tonic::Status> { in generate_client_streaming()
332 … ) -> std::result::Result<tonic::Response<tonic::codec::Streaming<#response>>, tonic::Status> { in generate_streaming()
/tonic/tonic-health/src/generated/
H A Dgrpc_health_v1.rs143 ) -> std::result::Result< in check()
182 ) -> std::result::Result< in watch()
223 ) -> std::result::Result< in check()
229 Item = std::result::Result<super::HealthCheckResponse, tonic::Status>,
251 ) -> std::result::Result<tonic::Response<Self::WatchStream>, tonic::Status>; in watch()
324 ) -> Poll<std::result::Result<(), Self::Error>> { in poll_ready()
/tonic/tonic/src/
H A Dlib.rs135 pub type Result<T, E = Status> = std::result::Result<T, E>;
/tonic/examples/src/streaming/
H A Dserver.rs106 while let Some(result) = in_stream.next().await { in bidirectional_streaming_echo()
107 match result { in bidirectional_streaming_echo()
/tonic/examples/src/blocking/
H A Dclient.rs10 type Result<T, E = StdError> = ::std::result::Result<T, E>;
/tonic/tests/integration_tests/tests/
H A Dstreams.rs6 Box<dyn tokio_stream::Stream<Item = std::result::Result<T, Status>> + Send + 'static>,
H A Dstatus.rs139 Box<dyn tokio_stream::Stream<Item = std::result::Result<T, Status>> + Send + 'static>,
/tonic/tonic-reflection/src/generated/
H A Dgrpc_reflection_v1.rs234 ) -> std::result::Result< in server_reflection_info()
277 Item = std::result::Result<
289 ) -> std::result::Result< in server_reflection_info()
365 ) -> Poll<std::result::Result<(), Self::Error>> { in poll_ready()
H A Dgrpc_reflection_v1alpha.rs234 ) -> std::result::Result< in server_reflection_info()
277 Item = std::result::Result<
289 ) -> std::result::Result< in server_reflection_info()
365 ) -> Poll<std::result::Result<(), Self::Error>> { in poll_ready()
/tonic/tonic/src/codec/
H A Dprost.rs393 let result = if should_send { in poll_frame() localVariable
404 result in poll_frame()
/tonic/tonic/src/server/
H A Dgrpc.rs17 ($result:expr) => {
18 match $result {
/tonic/interop/proto/grpc/testing/
H A Dtest.proto45 // The server returns the aggregated size of client payload as the result.
/tonic/examples/proto/googleapis/google/api/
H A Dfield_behavior.proto66 // *must not* throw an error as a result of the field's presence).
H A Dhttp.proto297 // to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
/tonic/examples/proto/googleapis/google/pubsub/v1/
H A Dpubsub.proto491 // than once will not result in an error.
1082 // more than once will not result in an error. If the acknowledgement ID is
/tonic/
H A DCHANGELOG.md219 * add `Result<T>` type alias for `std::result::Result<T, tonic::Status>` ([#1085](https://github.co…