Home
last modified time | relevance | path

Searched refs:C (Results 1 – 8 of 8) sorted by relevance

/tonic/tonic/src/transport/channel/service/
H A Dconnection.rs28 fn new<C>(connector: C, endpoint: Endpoint, is_lazy: bool) -> Self in new() argument
32 C::Future: Send, in new()
80 pub(crate) async fn connect<C>( in connect()
81 connector: C, in connect() argument
87 C::Future: Unpin + Send, in connect()
93 pub(crate) fn lazy<C>(connector: C, endpoint: Endpoint) -> Self in lazy() argument
97 C::Future: Send, in lazy()
159 connector: C,
164 impl<C> MakeSendRequestService<C> {
174 impl<C> tower::Service<Uri> for MakeSendRequestService<C>
[all …]
H A Dconnector.rs17 pub(crate) struct Connector<C> {
18 inner: C,
23 impl<C> Connector<C> {
24 pub(crate) fn new(inner: C, #[cfg(feature = "_tls-any")] tls: Option<TlsConnector>) -> Self { in new() argument
33 impl<C> Service<Uri> for Connector<C>
35 C: Service<Uri>,
36 C::Response: rt::Read + rt::Write + Unpin + Send + 'static,
37 C::Future: Send + 'static,
38 crate::BoxError: From<C::Error> + Send + 'static,
/tonic/tonic/src/transport/channel/
H A Dmod.rs150 pub fn new<C>(connector: C, endpoint: Endpoint) -> Self in new() argument
152 C: Service<Uri> + Send + 'static, in new()
153 C::Error: Into<crate::BoxError> + Send, in new()
154 C::Future: Send, in new()
155 C::Response: rt::Read + rt::Write + Unpin + Send + 'static, in new()
171 pub async fn connect<C>(connector: C, endpoint: Endpoint) -> Result<Self, super::Error> in connect() argument
173 C: Service<Uri> + Send + 'static, in connect()
174 C::Error: Into<crate::BoxError> + Send, in connect()
175 C::Future: Unpin + Send, in connect()
176 C::Response: rt::Read + rt::Write + Unpin + Send + 'static, in connect()
H A Dendpoint.rs321 pub(crate) fn connector<C>(&self, c: C) -> service::Connector<C> { in connector() argument
369 pub async fn connect_with_connector<C>(&self, connector: C) -> Result<Channel, Error> in connect_with_connector()
371 C: Service<Uri> + Send + 'static, in connect_with_connector()
372 C::Response: rt::Read + rt::Write + Send + Unpin, in connect_with_connector()
373 C::Future: Send, in connect_with_connector()
374 crate::BoxError: From<C::Error> + Send, in connect_with_connector()
394 pub fn connect_with_connector_lazy<C>(&self, connector: C) -> Channel in connect_with_connector_lazy()
396 C: Service<Uri> + Send + 'static, in connect_with_connector_lazy()
397 C::Response: rt::Read + rt::Write + Send + Unpin, in connect_with_connector_lazy()
398 C::Future: Send, in connect_with_connector_lazy()
[all …]
/tonic/tonic/src/client/
H A Dgrpc.rs207 pub async fn unary<M1, M2, C>( in unary()
211 codec: C, in unary() argument
217 C: Codec<Encode = M1, Decode = M2>, in unary()
230 codec: C, in client_streaming() argument
237 C: Codec<Encode = M1, Decode = M2>, in client_streaming()
263 pub async fn server_streaming<M1, M2, C>( in server_streaming()
267 codec: C, in server_streaming() argument
273 C: Codec<Encode = M1, Decode = M2>, in server_streaming()
282 pub async fn streaming<S, M1, M2, C>( in streaming()
286 mut codec: C, in streaming() argument
[all …]
/tonic/examples/data/tls/
H A Dclient2.pem16 1lzlYw2NjdHxmrqXLS9I5eYqEo3JtRQrOu3LUd7LqdlEO0jHMaxblxTgwJDoj/9C
/tonic/examples/data/gcp/
H A Droots.pem1136 # Issuer: C=US, O=Google Trust Services LLC, CN=GTS Root R1
1137 # Subject: C=US, O=Google Trust Services LLC, CN=GTS Root R1
1142 # SHA256 Fingerprint: 2A:57:54:71:E3:13:40:BC:21:58:1C:BD:2C:F1:3E:15:84:63:20:3E:CE:94:BC:F9:D3:CC…
1176 # Issuer: C=US, O=Google Trust Services LLC, CN=GTS Root R2
1177 # Subject: C=US, O=Google Trust Services LLC, CN=GTS Root R2
1182 …nt: C4:5D:7B:B0:8E:6D:67:E6:2E:42:35:11:0B:56:4E:5F:78:FD:92:EF:05:8C:84:0A:EA:4E:64:55:D7:58:5C:60
1216 # Issuer: C=US, O=Google Trust Services LLC, CN=GTS Root R3
1217 # Subject: C=US, O=Google Trust Services LLC, CN=GTS Root R3
1238 # Issuer: C=US, O=Google Trust Services LLC, CN=GTS Root R4
1239 # Subject: C=US, O=Google Trust Services LLC, CN=GTS Root R4
[all …]
/tonic/examples/proto/googleapis/google/api/
H A Dhttp.proto122 // `...?foo.a=A&foo.b=B&foo.c=C`.