Struct jsonrpc_client_http::DefaultClient
[−]
[src]
pub struct DefaultClient;
Default Client creator that defaults to creating a standard Client with just
hyper::Client::new(handle).
Trait Implementations
impl Debug for DefaultClient[src]
impl Default for DefaultClient[src]
fn default() -> DefaultClient[src]
Returns the "default value" for a type. Read more
impl ClientCreator for DefaultClient[src]
type Connect = HttpConnector
The connector type inside the Client created by this type.
type Error = Error
The error emitted by this type in case creating the Client failed.
fn create(&self, handle: &Handle) -> Result<Client<HttpConnector, Body>, Error>[src]
Tries to create a Hyper Client based on the given Tokio Handle.