Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 31) sorted by relevance

12

/tonic/tests/web/
H A Dbuild.rs10 .for_each(|file| println!("cargo:rerun-if-changed={}", file)); in main()
/tonic/examples/src/routeguide/
H A Ddata.rs19 let file = File::open(data_dir.join("route_guide_db.json")).expect("failed to open data file"); in load() localVariable
22 serde_json::from_reader(&file).expect("failed to deserialize features"); in load()
/tonic/tonic-reflection/proto/
H A Dreflection_v1alpha.proto4 // you may not use this file except in compliance with the License.
35 // Find a proto file by the file name.
38 // Find the proto file that declares the given fully-qualified symbol name.
43 // Find the proto file which defines an extension extending the given
H A Dreflection_v1.proto4 // you may not use this file except in compliance with the License.
45 // Find a proto file by the file name.
48 // Find the proto file that declares the given fully-qualified symbol name.
53 // Find the proto file which defines an extension extending the given
/tonic/examples/
H A Dhelloworld-tutorial.md77 Great! Now our `.proto` file should be complete and ready for use in our application. Here is what …
127 At the root of your project (not /src), create a `build.rs` file and add the following code:
142 …we will be using in our server, including the protobuf. Start by making a file called `server.rs` …
155 Next up, let's implement the Greeter service we previously defined in our `.proto` file. Here's wha…
260 …erver implementations. Similar to the server, we will start by creating a file `client.rs` in our …
290 That's it! Our complete client file should look something like below, if it doesn't please go back …
318file, a build file to compile our protobufs, a server which implements our SayHello service, and a…
H A Drouteguide-tutorial.md6 - Define a service in a `.proto` file.
24 With gRPC we can define our service once in a `.proto` file and implement clients and servers in
93 You can see the complete `.proto` file in
96 To define a service, you specify a named `service` in your `.proto` file:
191 Create a `build.rs` file at the root of your crate:
259 the package declared in our `.proto` file, not a filename, e.g "routeguide.rs".
315 deserialize them from a json file and keep them around as our only piece of shared state:
324 Create the json data file and a helper module to read and deserialize our features.
335 **Note:** If you are following along, you'll need to change the data file's path from
584 Rename `main.rs` to `server.rs` and create a new file `client.rs`.
[all …]
/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 Dclient.proto4 // you may not use this file except in compliance with the License.
H A Dfield_behavior.proto4 // you may not use this file except in compliance with the License.
/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/interop/proto/grpc/testing/
H A Dempty.proto4 // you may not use this file except in compliance with the License.
H A Dtest.proto4 // you may not use this file except in compliance with the License.
H A Dmessages.proto4 // you may not use this file except in compliance with the License.
/tonic/examples/proto/echo/
H A Decho.proto6 * you may not use this file except in compliance with the License.
/tonic/codegen/src/
H A Dmain.rs117 for fd in fds.file.iter_mut() { in write_fds()
/tonic/tonic-reflection/tests/
H A Dserver.rs21 .file[0] in get_encoded_reflection_service_fd()
/tonic/tonic-types/proto/
H A Dstatus.proto4 // you may not use this file except in compliance with the License.
H A Derror_details.proto4 // you may not use this file except in compliance with the License.
201 // "cloud storage bucket", "file", "Google calendar"; or the type URL
/tonic/tonic-build/
H A DREADME.md93 you can uncomment the line `.out_dir(...)` above, and in your lib file
/tonic/tonic-health/proto/
H A Dhealth.proto4 // you may not use this file except in compliance with the License.
/tonic/examples/proto/routeguide/
H A Droute_guide.proto4 // you may not use this file except in compliance with the License.
/tonic/tonic-reflection/src/server/
H A Dmod.rs139 for fd in fds.file { in new()
/tonic/.github/workflows/
H A DCI.yml98 - name: Get MSRV from manifest file

12