Struct jsonrpc_client_http::HttpHandle [] [src]

pub struct HttpHandle { /* fields omitted */ }

A handle to a HttpTransport. This implements jsonrpc_client_core::Transport and can be used as the transport for a RPC client generated by the jsonrpc_client! macro.

Trait Implementations

impl Debug for HttpHandle
[src]

[src]

Formats the value using the given formatter.

impl Clone for HttpHandle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Transport for HttpHandle
[src]

The type of error that this transport emits if it fails.

[src]

Returns an id that has not yet been used on this transport. Used by the RPC clients to fill in the "id" field of a request. Read more

[src]

Sends the given data over the transport and returns a future that will complete with the response to the request, or the transport specific error if something went wrong. Read more