Home
last modified time | relevance | path

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

12

/tonic/tonic/src/transport/channel/service/
H A Dio.rs5 use hyper::rt;
9 rt::Read + rt::Write + Send + 'static
13 impl<T> Io for T where T: rt::Read + rt::Write + Send + 'static {}
29 impl rt::Read for BoxedIo {
33 buf: rt::ReadBufCursor<'_>, in poll_read()
39 impl rt::Write for BoxedIo {
H A Dconnection.rs7 use hyper::rt;
8 use hyper::{client::conn::http2::Builder, rt::Executor};
9 use hyper_util::rt::TokioTimer;
33 C::Response: rt::Read + rt::Write + Unpin + Send + 'static, in new()
88 C::Response: rt::Read + rt::Write + Unpin + Send + 'static, in connect()
98 C::Response: rt::Read + rt::Write + Unpin + Send + 'static, in lazy()
179 C::Response: rt::Read + rt::Write + Unpin + Send,
H A Dconnector.rs11 use hyper::rt;
14 use hyper_util::rt::TokioIo;
36 C::Response: rt::Read + rt::Write + Unpin + Send + 'static,
H A Dexecutor.rs2 use hyper_util::rt::TokioExecutor;
5 pub(crate) use hyper::rt::Executor;
/tonic/examples/src/blocking/
H A Dclient.rs18 rt: Runtime, field
27 let rt = Builder::new_multi_thread().enable_all().build().unwrap(); in connect() localVariable
28 let client = rt.block_on(GreeterClient::connect(dst))?; in connect()
30 Ok(Self { client, rt }) in connect()
37 self.rt.block_on(self.client.say_hello(request)) in say_hello()
H A Dserver.rs35 let rt = Runtime::new().expect("failed to obtain a new RunTime object"); in main() localVariable
39 rt.block_on(server_future) in main()
/tonic/tonic/src/transport/channel/
H A Dmod.rs29 use hyper::rt;
155 C::Response: rt::Read + rt::Write + Unpin + Send + 'static, in new()
176 C::Response: rt::Read + rt::Write + Unpin + Send + 'static, in connect()
H A Dendpoint.rs10 use hyper::rt;
372 C::Response: rt::Read + rt::Write + Send + Unpin, in connect_with_connector()
397 C::Response: rt::Read + rt::Write + Send + Unpin, in connect_with_connector_lazy()
/tonic/tests/default_stubs/
H A DCargo.toml8 tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
/tonic/examples/src/h2c/
H A Dclient.rs5 use hyper_util::rt::TokioExecutor;
40 rt::TokioExecutor,
H A Dserver.rs3 use hyper_util::rt::{TokioExecutor, TokioIo};
71 use hyper_util::{rt::TokioExecutor, service::TowerToHyperService};
/tonic/tests/web/
H A DCargo.toml15 tokio = { version = "1", features = ["macros", "rt", "net"] }
/tonic/examples/src/grpc-web/
H A Dclient.rs2 use hyper_util::rt::TokioExecutor;
/tonic/tests/compression/
H A DCargo.toml17 tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
/tonic/interop/
H A DCargo.toml25 tokio = {version = "1.0", features = ["rt-multi-thread", "time", "macros"]}
/tonic/examples/src/uds/
H A Dclient.rs8 use hyper_util::rt::TokioIo;
/tonic/tests/integration_tests/
H A DCargo.toml12 tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net", "sync"]}
/tonic/tonic/benches/
H A Ddecode.rs16 let rt = tokio::runtime::Builder::new_multi_thread() localVariable
25 rt.block_on(async {
/tonic/tonic-web/
H A DCargo.toml31 tokio = { version = "1", features = ["macros", "rt"] }
/tonic/tonic-health/
H A DCargo.toml25 tokio = {version = "1.0", features = ["rt-multi-thread", "macros"]}
/tonic/examples/src/tls_rustls/
H A Dclient.rs9 use hyper_util::{client::legacy::connect::HttpConnector, rt::TokioExecutor};
H A Dserver.rs7 rt::{TokioExecutor, TokioIo},
/tonic/examples/src/mock/
H A Dmock.rs1 use hyper_util::rt::TokioIo;
/tonic/tonic-reflection/
H A DCargo.toml32 tokio = { version = "1.0", features = ["sync", "rt"], optional = true }
/tonic/tonic/
H A DCargo.toml32 _tls-any = ["dep:tokio-rustls", "dep:tokio", "tokio?/rt", "tokio?/macros"] # Internal. Please choos…
107 tokio = {version = "1.0", features = ["rt", "macros"]}

12