Module toy_rpc::client[][src]

There are two Client struct defined, one for feature = "async_std_runtime" and the other for feature = "tokio_runtime".

When either feature = "async_std_runtime" or feature = "http_tide" is true and none of feature = "tokio_runtime", feature = "http_actix_web", or feature = "http_warp" is toggled, client::async_std::Client will be re-exported as client::Client.

When one of feature = "tokio_runtime", feature = "http_actix_web", or feature = "http_warp" is true and none of feature = "async_std_runtime" or feature = "http_tide" is client::tokio::Client will be re-exported as client::Client.

Re-exports

pub use crate::client::async_std::Client;

Modules

async_std
tokio

Structs

Connected

Type state for creating Client

NotConnected

Type state for creating Client