pub trait Rpc: Sized + Send + Sync + 'static {
fn modules(&self) -> Result<BTreeMap<String, String>>;
fn rpc_modules(&self) -> Result<BTreeMap<String, String>>;
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> { ... }
}
Expand description
RPC Interface.
Required methods
Returns supported modules for Geth 1.3.6 @ignore
Provided methods
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
Create an IoDelegate
, wiring rpc calls to the trait methods.