Home
last modified time | relevance | path

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

/tonic/tonic-build/src/
H A Dcompile_settings.rs4 pub(crate) codec_path: String, field
11 codec_path: "tonic::codec::ProstCodec".to_string(), in default()
H A Dmanual.rs179 codec_path: String, field
200 fn codec_path(&self) -> &str { in codec_path() method
201 &self.codec_path in codec_path()
274 codec_path: Option<String>, field
320 pub fn codec_path(mut self, codec_path: impl AsRef<str>) -> Self { in codec_path() method
321 self.codec_path = Some(codec_path.as_ref().to_owned()); in codec_path()
350 codec_path: self.codec_path.unwrap(), in build()
H A Dprost.rs147 fn codec_path(&self) -> &str { in codec_path() method
148 &self.settings.codec_path in codec_path()
592 pub fn codec_path(mut self, codec_path: impl Into<String>) -> Self { in codec_path() method
593 self.compile_settings.codec_path = codec_path.into(); in codec_path()
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()
H A Dlib.rs137 fn codec_path(&self) -> &str; in codec_path() method
/tonic/examples/
H A Dbuild.rs41 .codec_path("crate::common::SmallBufferCodec") in main()
62 .codec_path("crate::common::JsonCodec") in build_json_codec_service()