Trait web3::Transport[][src]

pub trait Transport: Debug + Clone {
    type Out: Future<Item = Value, Error = Error>;
    fn prepare(&self, method: &str, params: Vec<Value>) -> (RequestId, Call);
fn send(&self, id: RequestId, request: Call) -> Self::Out; fn execute(&self, method: &str, params: Vec<Value>) -> Self::Out { ... } }

Transport implementation

Associated Types

The type of future this transport returns when a call is made.

Required Methods

Prepare serializable RPC call for given method with parameters.

Execute prepared RPC call.

Provided Methods

Execute remote method with given parameters.

Implementors