Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 7 of 7) sorted by relevance

/tonic/codegen/src/
H A Dmain.rs4 path::{Path, PathBuf},
68 root_dir: &Path, in codegen() argument
71 out_dir: &Path, in codegen() argument
72 file_descriptor_set_path: &Path, in codegen() argument
113 fn write_fds(fds: &FileDescriptorSet, path: &Path) { in write_fds() argument
/tonic/tonic-build/src/
H A Dprost.rs11 path::{Path, PathBuf},
53 pub fn compile_protos(proto: impl AsRef<Path>) -> io::Result<()> { in compile_protos()
54 let proto_path: &Path = proto.as_ref(); in compile_protos()
179 syn::parse_str::<syn::Path>(rust_type) in request_response_name()
343 pub fn file_descriptor_set_path(mut self, path: impl AsRef<Path>) -> Self { in file_descriptor_set_path()
359 pub fn out_dir(mut self, out_dir: impl AsRef<Path>) -> Self { in out_dir()
553 pub fn include_file(mut self, path: impl AsRef<Path>) -> Self { in include_file()
606 protos: &[impl AsRef<Path>], in compile_protos() argument
607 includes: &[impl AsRef<Path>], in compile_protos() argument
617 protos: &[impl AsRef<Path>], in compile_protos_with_config() argument
[all …]
H A Dmanual.rs37 path::{Path, PathBuf},
225 let request = syn::parse_str::<syn::Path>(&self.input_type) in request_response_name()
228 let response = syn::parse_str::<syn::Path>(&self.output_type) in request_response_name()
469 pub fn out_dir(mut self, out_dir: impl AsRef<Path>) -> Self { in out_dir()
H A Dclient.rs228 let codec_name = syn::parse_str::<syn::Path>(method.codec_path()).unwrap(); in generate_unary()
259 let codec_name = syn::parse_str::<syn::Path>(method.codec_path()).unwrap(); in generate_server_streaming()
290 let codec_name = syn::parse_str::<syn::Path>(method.codec_path()).unwrap(); in generate_client_streaming()
321 let codec_name = syn::parse_str::<syn::Path>(method.codec_path()).unwrap(); in generate_streaming()
H A Dserver.rs443 let codec_name = syn::parse_str::<syn::Path>(method.codec_path()).unwrap(); in generate_unary()
502 let codec_name = syn::parse_str::<syn::Path>(method.codec_path()).unwrap(); in generate_server_streaming()
571 let codec_name = syn::parse_str::<syn::Path>(method.codec_path()).unwrap(); in generate_client_streaming()
627 let codec_name = syn::parse_str::<syn::Path>(method.codec_path()).unwrap(); in generate_streaming()
/tonic/examples/src/uds/
H A Dserver.rs3 use std::path::Path;
48 std::fs::create_dir_all(Path::new(path).parent().unwrap())?; in main()
/tonic/examples/proto/googleapis/google/api/
H A Dhttp.proto224 // ### Path template syntax