Home
last modified time | relevance | path

Searched refs:with (Results 1 – 25 of 35) sorted by relevance

12

/tonic/tonic-health/proto/
H A Dhealth.proto4 // you may not use this file except in compliance with the License.
43 // If the requested service is unknown, the call will fail with status
56 // server will send a new message with the service's serving status.
58 // If the call terminates with status UNIMPLEMENTED, then clients
60 // call. If the call terminates with any other status (including OK),
61 // clients should retry the call with appropriate exponential backoff.
/tonic/tonic-types/
H A DREADME.md3 A collection of useful protobuf types that can be used with `tonic`.
7 with [`tonic`] in a convenient way.
12 imported and worked with directly.
15 be used on the server side to create a status with error details, which can then
18 and handle them with ease.
26 ### Server Side: Generating [`tonic::Status`] with an [`ErrorDetails`] struct
101 ## Working with different error message types
109 In the [`StatusExt`] doc, an alternative way of interacting with
111 with the [`ErrorDetail`] enum. This approach can provide more control over the
117 Besides that, multiple examples with alternative error details extraction
H A DCargo.toml8 A collection of useful protobuf types that can be used with `tonic`.
/tonic/interop/proto/grpc/testing/
H A Dtest.proto4 // you may not use this file except in compliance with the License.
25 // A simple service to test the various types of RPCs and experiment with
26 // performance with various types of payload.
40 // The server returns the payload with client desired type and sizes.
49 // A sequence of requests with each request served by the server immediately.
57 // stream of responses are returned to the client when the server starts with
H A Dmessages.proto4 // you may not use this file except in compliance with the License.
62 // Optional input payload sent along with the request.
72 // "nullable" in order to interoperate seamlessly with clients not able to
97 // Optional input payload sent along with the request.
101 // is "nullable" in order to interoperate seamlessly with servers not able to
125 // "nullable" in order to interoperate seamlessly with clients not able to
143 // Optional input payload sent along with the request.
H A Dempty.proto4 // you may not use this file except in compliance with the License.
/tonic/.github/workflows/
H A DCI.yml20 with:
37 with:
57 with:
102 with:
150 - name: Run interop tests with Rustls
159 with:
167 with:
171 with:
/tonic/tonic/src/transport/
H A Derror.rs31 pub(crate) fn with(mut self, source: impl Into<Source>) -> Self { in with() method
37 Error::new(Kind::Transport).with(source) in from_source()
/tonic/
H A DCONTRIBUTING.md7 matter if you are just getting started with Rust or are the most weathered
15 You may also get help with contributing in the `dev` channel, please join
109 and triaging issues, but carries with it a necessary review and approval
157 /// // with `use tokio::prelude::*`
169 /// // do something with `item`
175 /// // Wrap the future with a `Timeout` set to expire in 10 milliseconds.
203 /// // Wrap the future with a `Timeout` set to expire in 10 milliseconds.
243 * be prefixed with the name of the crate being changed (without the
244 `tonic` prefix) and start with an imperative verb.
283 From within GitHub, opening a new Pull Request will present you with a
[all …]
/tonic/tests/ambiguous_methods/proto/
H A Dambiguous_methods.proto9 // with the same method names from Arc,
/tonic/examples/proto/routeguide/
H A Droute_guide.proto4 // you may not use this file except in compliance with the License.
29 // A feature with an empty name is returned if there's no feature at the given
36 // streamed rather than returned at once (e.g. in a response message with a
/tonic/tonic-types/proto/
H A Dstatus.proto4 // you may not use this file except in compliance with the License.
33 // You can find out more about this error model and how to work with it in the
H A Derror_details.proto4 // you may not use this file except in compliance with the License.
57 // a service could respond with a QuotaFailure detail containing the project
60 // a service could respond with the project id and set `service_disabled`
88 // Describes the cause of the error with structured details.
223 // For example, if a quota check failed with an error indicating the calling
/tonic/examples/proto/googleapis/google/pubsub/v1/
H A Dpubsub.proto4 // you may not use this file except in compliance with the License.
115 // the same name; this is an entirely new topic with none of the old
175 // must not start with `"goog"`.
460 // the same name, but the new one has no association with the old
485 // Acknowledges the messages associated with the `ack_ids` in the
605 // created with the same name, but the new one has no association with the old
641 // in length, and it must not start with `"goog"`.
652 // If push delivery is used with this subscription, this field is
665 // `ModifyAckDeadline` with the corresponding `ack_id` if using
1096 // be aborted with status `INVALID_ARGUMENT`.
[all …]
/tonic/tonic-web/
H A DREADME.md8 The easiest way to get started, is to call the function with your tonic service
/tonic/examples/src/health/
H A DREADME.md3 …h checks for services should be carried out. Tonic supports this protocol with the optional [tonic…
/tonic/examples/proto/unaryecho/
H A Decho.proto6 * you may not use this file except in compliance with the License.
/tonic/examples/proto/googleapis/google/api/
H A Dannotations.proto4 // you may not use this file except in compliance with the License.
H A Dresource.proto4 // you may not use this file except in compliance with the License.
194 // /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
199 // Optional. The relative resource name pattern associated with this resource
202 // The path pattern must follow the syntax, which aligns with HTTP binding
229 // // names with organization, and project was added later.
H A Dclient.proto4 // you may not use this file except in compliance with the License.
68 // This should be specified with no prefix or protocol.
/tonic/tonic/benches-disabled/proto/helloworld/
H A Dhelloworld.proto4 // you may not use this file except in compliance with the License.
/tonic/examples/proto/helloworld/
H A Dhelloworld.proto4 // you may not use this file except in compliance with the License.
/tonic/tonic-reflection/proto/
H A Dreflection_v1alpha.proto4 // you may not use this file except in compliance with the License.
44 // message type with the given field number.
79 // file_containing_extension requests with transitive dependencies.
H A Dreflection_v1.proto4 // you may not use this file except in compliance with the License.
54 // message type with the given field number.
89 // file_containing_extension requests with transitive dependencies.
/tonic/examples/proto/echo/
H A Decho.proto6 * you may not use this file except in compliance with the License.

12